This repo is derived from the original DEFT repo and our CentreTrack fork
The original readme can be found in README.original.md
- Initialize submodules:
git submodule update --init --recursive
- Make sure
/etc/docker/daemon.json
contains"default-runtime": "nvidia"
as a top-level property. For example:
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
},
"default-runtime": "nvidia"
}
If changes are made, restart the docker daemon:
sudo service docker restart
- Start the container. Some assumptions have been made in
docker-compose.yml
(e.g. where the data is stored). Edit the file if needed.
./generate-dot-env.sh
HOST=$(hostname) docker-compose up -d
- Open a shell
docker-compose exec dev /bin/bash
cd /project
- Run DEFT
cd src
python test.py tracking,ddd --load_model models/DEFT/model_kitti.pth --dataset kitti_tracking --save_video --test --test_dataset kitti_tracking