KeyError: 'CoDETR is not in the models registry'
$ sh tools/dist_test_1gpu.sh projects/configs/co_deformable_detr/co_deformable_detr_r50_1x_coco.py path_to_checkpoint --eval bbox
d:\coding\co-detr\mmdet\utils\setup_env.py:39: UserWarning: Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
f'Setting OMP_NUM_THREADS environment variable for each process '
d:\coding\co-detr\mmdet\utils\setup_env.py:49: UserWarning: Setting MKL_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
f'Setting MKL_NUM_THREADS environment variable for each process '
loading annotations into memory...
Done (t=0.39s)
creating index...
index created!
Traceback (most recent call last):
File "tools/test.py", line 276, in
I have run the command "pip install -v -e . " . But it doesn't work. Could you help me?
You can run pip uninstall mmdet to see if it works
Try to add this line from projects import * to the file tools/test.py