Please follow the steps below.
We implement Co-DETR using MMDetection V3.3.0 and MMCV V2.1.0. The source code of MMdetection has been included in this repo. We test our models under python=3.8.20,pytorch=2.1.0,cuda=12.1. Other versions may not be compatible.
In a python virtual environment and in the root directory of the project , install packages in the requirements.txt file.
pip install -r requirements.txtTrain Co-DINO with 4 GPUs:
cd mmdetection && sh tools/dist_train.sh my_configs/codino/codino_xxx.py 4The test folder contains two subfolders: test_data and test_result. Among them, test_data stores the test data, and test_result stores the test results.
For bar charts:
python chart_data_extract_bar.pyFor scatter charts:
python chart_data_extract_scatter.pyYou need to modify the path(s) in the file.