Cuogeihong / CEASC

The official implementation of CEASC
Apache License 2.0
106 stars 13 forks source link

About test #1

Closed johnran103 closed 1 year ago

johnran103 commented 1 year ago

In the repo, you said use ./tools/test.py to evaluate the result. How did you handle the ignore region in Visdrone? The original matlab script drops gts and dets in ignore region.

Cuogeihong commented 1 year ago

Actually, the README.md has not been fully updated yet. You can refer to vis_pkl.py and json_to_txt.py and use the following scripts to obtain VisDrone format result in pred_txt/ folder.

python tools/test.py /path/to/config-file /path/to/work-dir/latest.pth --out path/to/result.pkl
python tools/vis_pkl.py --pkl_pathname path/to/result.pkl --json_pathname path/to/result.json
python tools/json_to_txt.py --json_pathname path/to/result.json
johnran103 commented 1 year ago

Got it. Thank you.