ViT-Adapter icon indicating copy to clipboard operation
ViT-Adapter copied to clipboard

KeyError: 'ViTAdapter is not in the models registry'

Open CatOneTwo opened this issue 7 months ago • 2 comments

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!

CatOneTwo avatar Nov 17 '23 08:11 CatOneTwo

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)"

czczup avatar Dec 12 '23 05:12 czczup