- Google Colab
- "Our colab link"
This code is set path for my google drive, so if you want to modify file path for running this code, please check these:
- config/kitti.yaml
- main.py and main_test.py line 89 and line 96
- utils/combine_trk_cat.py line 67
- evaluation/KITTI/evaluation_HOTA/trackeval/datasets/kitti_2d_box.py line 22
- utils/save_results.py line 47
!git clone https://github.com/wangxiyang2022/DeepFusionMOT
Please download the official KITTI object tracking dataset.
The final dataset organization should be like this:
DeepFusionMOT
├── data
│ ├── kitti
│ │ │── tracking
│ │ │ │──training
| │ │ │ ├──calib
| │ │ │ | ├──0000.txt
| │ │ │ | ├──....txt
| │ │ │ | └──0028.txt
| │ │ │ ├──image_02
| │ │ │ | ├──0000
| │ │ │ | ├──....
| │ │ │ | └──0028
| │ │ │ ├──oxts
| │ │ │ | ├──0000.txt
| │ │ │ | ├──....
| │ │ │ | └──0028.txt
| │ │ │ ├──label_02
| │ │ │ | ├──0000.txt
| │ │ │ | ├──....txt
| │ │ │ | └──0028.txt
| │ │ │ ├──velodyne
| │ │ │ | ├──0000
| │ │ │ | ├──....
| │ │ │ | └──0028
│ │ │ │──testing # the structure is same as training set
| │ │ │ ├──calib
| │ │ │ ├──image_02
| │ │ │ ├──oxts
| │ │ │ ├──label_02
| │ │ │ └──velodyne
NOTICE: Here are some errors in the Kitti dataset. Some data in folders 0008 and 0009 do not conform to the format of this code, and they are resulting in errors. Therefore, we copied folder 0000 and 0006 and replaced folders 0008 and 0009 when we executed.
from google.colab import drive
drive.mount('/content/drive')
!pip install -r /content/drive/MyDrive/DeepFusionMOT/requirements.txt
Using Training Datasets
!python /content/drive/MyDrive/DeepFusionMOT/main.py
And we can check the output images in 'DeepFusionMOT\results\KITTI\Car\image'
Using Testing Datasets
!python /content/drive/MyDrive/DeepFusionMOT/main_test.py
Also we can check the output images in 'DeepFusionMOT\results\KITTI\Car\image'