ViT-Adapter
ViT-Adapter copied to clipboard
KeyError: 'ViTAdapter is not in the models registry'
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!
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)"