-
Notifications
You must be signed in to change notification settings - Fork 588
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
[DOCS] zero-shot-detection-transformer-torch example not working #5221
Comments
Hey @daniel-bogdoll , thanks for pointing this out! I think the documentation needs to add the class names, which is why this error is occurring. It should work if you add, for instance,
|
@jacobmarks Should I just go ahead and update the example in the docs? |
Go for it! |
@daniel-bogdoll Some helpful hints 😄
Let @jacobmarks know if you need any help! |
@brimoor Thanks! Worked well, just one little thing I needed to do manually that was missing in the instructions:
as I got
|
URL(s) with the issue
https://docs.voxel51.com/model_zoo/models.html#zero-shot-detection-transformer-torch
Description of proposal (what needs changing)
Running the example gives the following error:
Error: OwlViTForObjectDetection.forward() missing 1 required positional argument: 'input_ids'
The examples provided here should be the correct ones, have not tested though: https://docs.voxel51.com/integrations/huggingface.html#zero-shot-object-detection
Willingness to contribute
The FiftyOne Community encourages documentation contributions. Would you or another member of your organization be willing to contribute a fix for this documentation issue to the FiftyOne codebase?
The text was updated successfully, but these errors were encountered: