Commit b0453945 authored by 宋柯's avatar 宋柯

模型上线

parent cf014bd2
...@@ -220,7 +220,8 @@ session_config = tf.compat.v1.ConfigProto(allow_soft_placement = True) ...@@ -220,7 +220,8 @@ session_config = tf.compat.v1.ConfigProto(allow_soft_placement = True)
session_config.gpu_options.allow_growth = True session_config.gpu_options.allow_growth = True
config = tf.estimator.RunConfig(save_checkpoints_steps = 3000, train_distribute = distribution, eval_distribute = distribution) # config = tf.estimator.RunConfig(save_checkpoints_steps = 3000, train_distribute = distribution, eval_distribute = distribution)
config = tf.estimator.RunConfig(save_checkpoints_steps = 300, train_distribute = distribution, eval_distribute = distribution)
# config = tf.estimator.RunConfig(save_checkpoints_steps = 3000, session_config = session_config) # config = tf.estimator.RunConfig(save_checkpoints_steps = 3000, session_config = session_config)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment