-
Notifications
You must be signed in to change notification settings - Fork 419
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
some bug found in using #4
Comments
fixed |
@ruotianluo
|
@brisker now? |
|
@brisker Any more bugs? |
|
@ruotianluo |
@brisker try t-2 to t-1? I was trying to run my own machine, but it's not working right now due to some wierd reason. |
what is "t-2 to t-1"? |
@brisker pushed to with_finetune branch. |
@ruotianluo
by changing beam_size from 2 to 1 in eval.py, bug fix. |
Besides, by changing the bug reads like
|
here |
@brisker I can't reproduce this. What's the size of your fc_feats. mine is a 2d tensor. (btw, from the error trace, you are not using the latest version.) |
@ruotianluo |
@ruotianluo |
0 is start token. (during prediction it's end token) |
@ruotianluo |
Sorry, it may not clear. |
@ruotianluo
|
1 is another token. I basically follow what neuraltalk2 did, and this looks good to me, so I would keep what it is. |
Fix checkpoint
eval.py
line 79: opt.input_fc_h5 = infos['opt'].input_fc_h5 need change to opt.input_fc_dir = infos['opt'].input_fc_dir
line 80: opt.input_att_h5 = infos['opt'].input_att_h5 need change to opt.input_att_dir = infos['opt'].input_att_dir
dataloaderraw.py
line 104: img = img.concatenate((img, img, img), axis=2) need change to img = np.concatenate((img, img, img), axis=2)
The text was updated successfully, but these errors were encountered: