-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use prototypes.pth that only contains a single class? #39
Comments
See here: #8 (comment) |
Hello, have you solved this problem? |
Hi, In the file demo.py modify the code in this part: if category_space is not None: to: if category_space is not None: |
I want to train a few shot object detector to recognize only a single class, which I built prototypes for using this blueprint: https://github.com/mlzxy/devit/blob/main/demo/build_prototypes.ipynb
Now when I run
python demo/demo.py
with some other images of the same class as input, I get an error, presumably because I only have a single class in my prototypes:Any hunch as to how I can solve this? Might the issue be that I did not explicitly train few shot object detector using https://github.com/mlzxy/devit/blob/main/tools/train_net.py ?
The text was updated successfully, but these errors were encountered: