DCTNet
DCTNet copied to clipboard
Object detection test.py throws an error
Hey, thanks for your work again. I was trying your object detection code on coco dataset and was hoping to see the code run for evaluation but when I ran the test.py it gives me this error..
from mmdet.apis import init_dist Traceback (most recent call last): File "
", line 1, in File "/home/sarfaraz/DCTNet/segmentation/mmdet/init.py", line 1, in from .version import version, short_version ModuleNotFoundError: No module named 'mmdet.version' import mmdet Traceback (most recent call last): File " ", line 1, in File "/home/sarfaraz/DCTNet/segmentation/mmdet/init.py", line 1, in from .version import version, short_version ModuleNotFoundError: No module named 'mmdet.version'
Can you point out whats going wrong here ?
I solved this problem, it looks like mmdetection was not built correctly. But i am having new problems now. After doing some more digging, I found out that the mmdetection has been updated and the latest version and commits have changed alot. And does not allign with the test.py that you wrote. Looks like you used some previous versions, can you please which versions you were using ? or which previous commits can i try ?
I also solrve the problem of installing the mmdetection. My env is Linux18.04+Pytorch 1.6.0+ Cuda10.1, and using the latest version of mvcc and mmdetection. But, I met some problems in running the test.py.