-
Notifications
You must be signed in to change notification settings - Fork 13
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
Having issues with using v2.1 inference #30
Comments
Did you pull the newest version? It works fine on my device by running the following code: score = hpsv2.score('path/to/assests/demo_image.jpg' , 'cat with horn', hps_version='v2.1')
# return: score = 0.288 |
Dear @Jaeger416 , |
Hi @Jaeger416, I can reproduce the same error of |
I search this file on Github and find this https://github.com/facebookresearch/mmf/blob/f704bc5b2e71d0ca3e602d9baa6252c5188aa7d0/mmf/common/constants.py#L30 |
Here is the PR to fix the error: #38 |
TypeError: score() got an unexpected keyword argument 'hps_version'
I got this error while trying to run the code .
result = hpsv2.score(images[i], captions[i],hps_version="v2.1")
I am trying to run multiple inference at the same time
The text was updated successfully, but these errors were encountered: