如何阻止TFLearn打印所有内容

时间:2018-01-06 20:39:59

标签: tflearn

当我运行TFLearn时,我的控制台会打印出每一次迭代,如下所示。快照步骤不执行任何操作。我可以删除在某处执行此操作的代码行或将其关闭的参数吗?

Training Step: 7790  | total loss: 0.00591 | time: 9.970s
| Adam | epoch: 001 | loss: 0.00591 - acc: 0.9988 -- iter: 03200/55000
Training Step: 7791  | total loss: 0.00540 | time: 10.025s
| Adam | epoch: 001 | loss: 0.00540 - acc: 0.9989 -- iter: 03264/55000
Training Step: 7792  | total loss: 0.00505 | time: 10.089s
| Adam | epoch: 001 | loss: 0.00505 - acc: 0.9990 -- iter: 03328/55000
Training Step: 7793  | total loss: 0.00480 | time: 10.155s
| Adam | epoch: 001 | loss: 0.00480 - acc: 0.9991 -- iter: 03392/55000
Training Step: 7794  | total loss: 0.00503 | time: 10.215s
| Adam | epoch: 001 | loss: 0.00503 - acc: 0.9992 -- iter: 03456/55000
Training Step: 7795  | total loss: 0.00973 | time: 10.274s
| Adam | epoch: 001 | loss: 0.00973 - acc: 0.9962 -- iter: 03520/55000
Training Step: 7796  | total loss: 0.00879 | time: 10.337s
| Adam | epoch: 001 | loss: 0.00879 - acc: 0.9965 -- iter: 03584/55000
Training Step: 7797  | total loss: 0.00824 | time: 10.406s
| Adam | epoch: 001 | loss: 0.00824 - acc: 0.9969 -- iter: 03648/55000
Training Step: 7798  | total loss: 0.00759 | time: 10.464s
| Adam | epoch: 001 | loss: 0.00759 - acc: 0.9972 -- iter: 03712/55000
Training Step: 7799  | total loss: 0.00690 | time: 10.523s
| Adam | epoch: 001 | loss: 0.00690 - acc: 0.9975 -- iter: 03776/55000

编辑:这可能是一个Windows问题和cmd

1 个答案:

答案 0 :(得分:0)

截至目前,似乎无法在TFLearn中禁用此功能。 您最好的选择似乎是编辑源代码。