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

One example per epoch ? #4

Open
abracadabrac opened this issue Sep 27, 2018 · 0 comments
Open

One example per epoch ? #4

abracadabrac opened this issue Sep 27, 2018 · 0 comments

Comments

@abracadabrac
Copy link

Hello

Is there only one training pair per epoch in your train file ?

training_pair = etl.variables_from_pair(random.choice(pairs), input_lang, output_lang)
input_variable = training_pair[0]
target_variable = training_pair[1]

# Run the train step
loss = train(input_variable, target_variable, encoder, decoder, encoder_optimizer, decoder_optimizer, criterion)
@abracadabrac abracadabrac changed the title One exemple per epoch ? One example per epoch ? Sep 27, 2018
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

1 participant