Skip to content
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 do batch prediction on feature extraction task? #70

Open
Tangnameless opened this issue Jun 29, 2022 · 1 comment
Open

how to do batch prediction on feature extraction task? #70

Tangnameless opened this issue Jun 29, 2022 · 1 comment

Comments

@Tangnameless
Copy link

from demo.ipynb, i see

multimodal_feature = model(image, caption, mode='multimodal')[0,0]
image_feature = model(image, caption, mode='image')[0,0]
text_feature = model(image, caption, mode='text')[0,0]

can i make batch prediction?

@LiJunnan1992
Copy link
Contributor

Yes you can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants