Issue
I'm training a model using Tensorflow API. It saves a checkpoint every 1000 steps. However, I would like to reduce that to 500 steps, and I can't find the place to configure it.
I would appreciate some help to find a way to change configuration settings.
Solution
It's very simple. Just add this flag to your training script:
--checkpoint_every_n=500
For example:
python {training_script} --model_dir={checkpoint_path} --pipeline_config_path={pipeline_config_path} --num_train_steps=20000 --checkpoint_every_n=500
Answered By - ela16
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.