We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, Dimatura.
In your main function of file 'train.py', you first load the data once and then in the loop of every epoch you load the data again.
` loader = (data_loader(cfg, args.training_fname))
for epoch in xrange(cfg['max_epochs']): loader = (data_loader(cfg, args.training_fname))`
I wonder why we first use the data_loader function before the loop (as the bold face codes show)?
Is it unnecessary or I do not get your point? That is to say, how about just writing: ` for epoch in xrange(cfg['max_epochs']):
loader = (data_loader(cfg, args.training_fname))`
Could you please help me on that?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hi, Dimatura.
In your main function of file 'train.py', you first load the data once and then in the loop of every epoch you load the data again.
` loader = (data_loader(cfg, args.training_fname))
I wonder why we first use the data_loader function before the loop (as the bold face codes show)?
Is it unnecessary or I do not get your point?
That is to say, how about just writing:
`
for epoch in xrange(cfg['max_epochs']):
Could you please help me on that?
The text was updated successfully, but these errors were encountered: