Open CatOneTwo opened 1 year ago
I'm really sorry for the late reply.
This is likely because the current path where the code is running has not been added to the PYTHONPATH. You can try the following cmd:
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
When I want to run the train.py in detection folders, the error occurs KeyError: 'ViTAdapter is not in the models registry'
I have installed the environment according to the ReadMe file, so how to fix this bug, thank you!
Hey I ran into the same problem :( It works if I run the official test script. But the same KeyError occurs if I want to build model in my own script. Can you share how you solved the problem? Thanks! :)
@yushanz make sure you import mmdet_custom
When I want to run the train.py in detection folders, the error occurs KeyError: 'ViTAdapter is not in the models registry'
I have installed the environment according to the ReadMe file, so how to fix this bug, thank you!