Tensorflow object detection API not displaying global steps

前端 未结 3 957
无人及你
无人及你 2021-02-20 02:38

I am new here. I recently started working with object detection and decided to use the Tensorflow object detection API. But, when I start training the model, it does not display

3条回答
  •  天命终不由人
    2021-02-20 03:25

    As Thommy257 suggested, adding tf.logging.set_verbosity(tf.logging.INFO) after the import section of model_main.py prints the summary after every 100 steps by default.

    Further, to specify the frequency of the summary, change

    config = tf.estimator.RunConfig(model_dir=FLAGS.model_dir)

    to

    config = tf.estimator.RunConfig(model_dir=FLAGS.model_dir, log_step_count_steps=k)

    where it will print after every k steps.

提交回复
热议问题