By Dmitrii Khizbullin
Ubuntu Desktop version 18.04+ and Windows 10 host OS are supported. NVidia or AMD GPU with OpenGL support is highly recommended. The prebuilt Dockerhub image requires a CPU with AVX2 support.
Select "Ubuntu Server 18.04 LTS (HVM), SSD Volume Type" image. Choose "g4dn.2xlarge" machine. Increase system disk size to 300 GB. Expose TCP port 6080 in the security group.
Instance type | RAM | CPUs | storage | GPU | cost |
---|---|---|---|---|---|
g4dn.2xlarge | 8 CPU | 32 GiB | NVMe SSD | NVIDIA T4 16GB GPU | $0.838 per Hour |
Download Tracking Mini dataset containing sequences 0 and 3 of Kitti Tracking (600MB download, 1.5BG free space on disk required):
Download tracking mini dataset
Download the full Kitti tracking dataset (53GB download, 106 GB free space required):
cd /home/ubuntu
mkdir git
cd git
git clone https://github.com/Obs01ete/lidar_course.git
cd /home/ubuntu
mkdir kitti
cd kitti
# optionally run a TMUX session.
bash /home/ubuntu/git/lidar_course/setup/download_data.sh
Download may take 40 minutes. Meanwhile the docker image can be built.
Unpack downloaded zip archives:
unzip 'data_tracking_*.zip' -d tracking/
- For Ubuntu https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
- For Windows 10 https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/quick-start-windows-10-linux
Pre-built container (1.3GB), checked for Ubuntu and Windows:
docker pull dmitriikhizbullin/lidar_course:latest
docker build --tag dmitriikhizbullin/lidar_course:local /home/ubuntu/git/lidar_course/setup
The process may take up to 30 minutes to build and takes up to 32 GB RAM. If the build fails due to out-of-memory while compiling PCL, reduce -j8
to -j4
in Dockerfile.
Once done, launch the container. Below are instructions for a Dockerhub container.
- Ubuntu:
docker run -p 6080:80 -v /dev/shm:/dev/shm -v /home/ubuntu/git:/ws -v /home/ubuntu/kitti/:/kitti -e RESOLUTION=1600x900 dmitriikhizbullin/lidar_course:latest
Windows, in Power Shell:
docker run -p 6080:80 -v ${PWD}/git:/ws -v ${PWD}/kitti/:/kitti -e RESOLUTION=1600x900 dmitriikhizbullin/lidar_course:latest
Open noVNC session in the browser http://<your_aws_machine_url>:6080
. Examples:
In noVNC in the browser:
cd /ws/lidar_course/
mkdir build
cd build
cmake ..
make -j8
Run the application:
./process-sequence /kitti/tracking/training/ 0000
You should see an Ubuntu Desktop GUI window in noVNC browser tab. There should be an animated colored point cloud with buildings, trees, cars, cyclists and pedestrians.