tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.35k stars 1.96k forks source link

Set epoch num #425

Open jack1995319 opened 5 years ago

jack1995319 commented 5 years ago

Hi everyone! I have a question, how can I set up epoch num? All I can think of is setting "num_train_steps". If data total number have 10,000 and batch size 100. 1 epoch "num_train_steps" need 100 step (10,000 / 100) I want to run 10 epoch I just set "num_train_steps" = 1,000(100 * 10), is this true?