You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say total_steps=1,000,000, num_steps_per_eval=10,000 and we stopped after 100,000. Then after resuming we'll call executor.train with max_steps 10,000. But current step is already 100,000, so it will do nothing:
elif FLAGS.mode == 'train_and_eval':
save_config(params, params.model_dir)
executor.prepare_evaluation()
num_cycles = int(params.train.total_steps / params.eval.num_steps_per_eval)
# FIXME: this doesn't work with resuming
for cycle in range(num_cycles):
tf.logging.info('Start training cycle %d.' % cycle)
current_cycle_last_train_step = ((cycle + 1)
* params.eval.num_steps_per_eval)
executor.train(train_input_fn, current_cycle_last_train_step)
executor.evaluate(
eval_input_fn,
params.eval.eval_samples // params.predict.predict_batch_size)
The text was updated successfully, but these errors were encountered:
Let's say total_steps=1,000,000, num_steps_per_eval=10,000 and we stopped after 100,000. Then after resuming we'll call
executor.train
with max_steps 10,000. But current step is already 100,000, so it will do nothing:The text was updated successfully, but these errors were encountered: