-
Notifications
You must be signed in to change notification settings - Fork 44
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
Visualize caption predictions for my image file #6
Comments
Hi, I met the same problem. It seems all the loaded images are default and I cant use it to do prediction using my images. Could you please help to give more detailed explanation? Thanks a lot! |
Hi, i met the same problem too. Could you solve it? |
Hello, |
Hello KeyError Traceback (most recent call last) D:\imagecaptioning\object_relation_transformer_yahoo\object_relation_transformer-master_yahoo\eval_utils.py in eval_split(model, crit, loader, eval_kwargs) KeyError: 'att_masks' |
Hello, thank you for your work!
I want to get a caption for the image I have.
So I created a folder 'vis_image' put the image and ran the following code. (also created 'vis_image/val2014' and put images both directory)
As a result, the code below was printed out.
And when I looked at the result with json file in vis and localhost:8000, I saw the caption for test 5000 images.
I just wanted to check the caption of 3 sample images I have.
Could you explain in more detail how i can get a caption for a image i have?
The text was updated successfully, but these errors were encountered: