【发布时间】:2017-12-11 17:01:42
【问题描述】:
我正在尝试在 TensorFlow 中使用 tf.estimator 训练 alexnet 模型。训练过程很顺利,我可以看到日志很好地显示。
INFO:tensorflow:loss = 2.61362, step = 294
INFO:tensorflow:Saving checkpoints for 325 into /home/olu/Dev/data_base
sign_base/output/Checkpoints_N_Model/trained_alexnet_model/model.ckpt.
INFO:tensorflow:Loss for final step: 2.94104.
下面是训练函数的调用方式:
traffic_sign_classifier.train(input_fn=train_input_fn,hooks=[logging_hook])
请问,我怎样才能从 tf 估计器对象中将我的损失值作为普通的 python 浮点数获得
【问题讨论】:
标签: tensorflow conv-neural-network tensorflow-estimator