我正在运行https://github.com/tensorflow/models/tree/master/official中的TensorFlow官方模型
当我运行正式的resnet模型时,每个tensorflow INFO消息都会打印两次,如下所示:
const allowedFunctions = {
firstAllowed: function() { /* ... */ },
someOtherFunction: function() { /* ... */ }
};
// ...then later, to call it...
if (allowedFunctions[clickedName]) { allowedFunctions[clickedName](); }
我当前的日志级别是
INFO:tensorflow:cross_entropy = 2.053623, learning_rate = 0.025, train_accuracy = 0.19732143 (0.102 sec)
I0927 11:58:25.770764 140597122463552 basic_session_run_hooks.py:247] cross_entropy = 2.053623, learning_rate = 0.025, train_accuracy = 0.19732143 (0.102 sec)
INFO:tensorflow:cross_entropy = 1.7440678, learning_rate = 0.025, train_accuracy = 0.19938381 (0.107 sec)
I0927 11:58:25.878196 140597122463552 basic_session_run_hooks.py:247] cross_entropy = 1.7440678, learning_rate = 0.025, train_accuracy = 0.19938381 (0.107 sec)
INFO:tensorflow:cross_entropy = 2.116714, learning_rate = 0.025, train_accuracy = 0.1983507 (0.102 sec)
I0927 11:58:25.980251 140597122463552 basic_session_run_hooks.py:247] cross_entropy = 2.116714, learning_rate = 0.025, train_accuracy = 0.1983507 (0.102 sec)
有人可以帮助解决此问题吗?谢谢!