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

second epoch weights issues #18

Closed
sujayr91 opened this issue Apr 10, 2017 · 3 comments
Closed

second epoch weights issues #18

sujayr91 opened this issue Apr 10, 2017 · 3 comments

Comments

@sujayr91
Copy link

Hi,

Looks like the weights starting from the second epoch, gives an issue while testing with sample image.
The output is only sequence of start ...
When i debugged, I see that the "outputs" tensor array in model.py contains all "nan"

@yunjey
Copy link
Owner

yunjey commented Apr 13, 2017

@sujayr91 I don't understand what you are asking.. What do you mean by 'weights starting from the second epoch'?

@sujayr91
Copy link
Author

Hi yunjey,

The model parameters I am talking are with respect to files which will be saved in model/ during training epochs. First I trained the model for Coco dataset. While testing sample.py, if i choose model parameters any where starting from second epoch (for example encoder-2-1000.pkl , and decoder-2-1000.pkl) I get output caption as .......

I will check your pretrained model also.

Thanks

@yunjey
Copy link
Owner

yunjey commented Apr 13, 2017

Oh, I think you should change the code in configuration.py.

I deleted the configuration.py file and add argparse to control the arguments. Please check the code.

@yunjey yunjey closed this as completed Apr 13, 2017
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