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

[Image Captioning] Training gets stuck after first iteration #14

Closed
umerebryx opened this issue Mar 22, 2017 · 2 comments
Closed

[Image Captioning] Training gets stuck after first iteration #14

umerebryx opened this issue Mar 22, 2017 · 2 comments

Comments

@umerebryx
Copy link

Hi,

I have tested your train.py script in captioning tutorial to run over my custom dataset. After some debugging it seems the script is not looping back after the first iteration. This is last line executed by the script and then I don't see any output for hours. Below is the output of the script:

python train.py 
Epoch [0/5], Step [0/22], Loss: 4.7755, Perplexity: 118.5671

Have you tested this on custom dataset? Can I get some pointers what might be wrong here.

Thanks

@yunjey
Copy link
Owner

yunjey commented Mar 22, 2017

Did you use a GPU? Image captioning has a long training time. For Pascal Titan X, it took about 1 hour per epoch. Here you can reduce the log_step.

@yunjey yunjey changed the title Training gets stuck after first iteration [Image Captioning] Training gets stuck after first iteration Mar 22, 2017
@umerebryx
Copy link
Author

Thanks for the reply. Yes, I am using gpu I will reduce the log steps and update here.

@yunjey yunjey closed this as completed Mar 25, 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