KeyError: … is not in the dataset registry’
recompile the code
I thought I need to recompile the code
And I found that
for the newest version, the”DATASETS”is not imported from .registry.
@DATASETS.register_module only is enough.
Also, for the newest version,
I build the mmdetection through
pip install -v -e ..
So there is no need to reinstall after I add the new dataset