-
Notifications
You must be signed in to change notification settings - Fork 52
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
Using your pretrained models for custom objects #31
Comments
@Ozziko Thanks for your interests in our work, and your nice suggestion! I've tried the installation (essentially it's the same as Detectron2's installation) on different machines and it worked well. Do you mind letting me know what problems showed up? For concept embeddings, take zero-shot inference for example. You just need to simply replace the parameter of I've already provided an annotated script for model inference which you might be interested in :-) |
@YiwuZhong Thanks for the fast reply! Can you supply the exact command to use for ZS detection inference with your pretrained model on custom images & custom labels? The one you supplied in the readme (below) didn't work because of the mismatch between the expected number of classes (in the yaml), and the actual one in the custom labels, and maybe there are more things to take into account - that's why I ask you...
|
This comment was marked as resolved.
This comment was marked as resolved.
This issue should be addressed by simply specifying |
Hi guys, great work (!), but I'm not sure how to try your pretrained models (and maybe cite you) for other tasks that require zero-shot detection on custom objects (and custom images).
First, I followed your installation instructions and it didn't work (you might want to check...). I eventually succeeded installing in colab (avoiding the cuda/torch incompatibilities), with the right detectron2.
Then I created concept embeddings for the objects I needed, but I didn't understand how to use them with your pretrained model. Can you explain/write the command?
Detic published a great simple colab notebook for trying out their model (I'm not related to them, just impressed). I'm sure that if you write a similar notebook you'll become much more attractive for others to use your code/models :-)
Thanks!
The text was updated successfully, but these errors were encountered: