jupyter notebook 打印输出不正常

2019-10-14 16:43:58 +08:00
 Cola90

正常情况应该是这样的:

Epoch 1/10
172/172 [==============================] - 7s 43ms/step - loss: 2.6656
Epoch 2/10
172/172 [==============================] - 6s 33ms/step - loss: 1.9586
Epoch 3/10
172/172 [==============================] - 6s 33ms/step - loss: 1.6907

我的输出是这样的:

Epoch 1/100
     26/Unknown - 1s 1s/step - loss: 7.7459 - accuracy: 0.00 - 1s 683ms/step - loss: 7.7579 - accuracy: 0.002 - 2s 502ms/step - loss: 7.8138 - accuracy: 0.002 - 2s 409ms/step - loss: 7.8115 - accuracy: 0.003 - 2s 353ms/step - loss: 7.8114 - accuracy: 0.003 - 2s 315ms/step - loss: 7.8292 - accuracy: 0.004 - 2s 289ms/step - loss: 7.8078 - accuracy: 0.005 - 2s 269ms/step - loss: 7.7814 - accuracy: 0.006 - 2s 254ms/step - loss: 7.7842 - accuracy: 0.007 - 2s 241ms/step - loss: 7.7854 - accuracy: 0.008 - 3s 231ms/step - loss: 7.7870 - accuracy: 0.009 - 3s 223ms/step - loss: 7.7920 - accuracy: 0.011 - 3s 216ms/step - loss: 7.7921 - accuracy: 0.012 - 3s 209ms/step - loss: 7.7833 - accuracy: 0.013 - 3s 204ms/step - loss: 7.7560 - accuracy: 0.014 - 3s 199ms/step - loss: 7.7392 - accuracy: 0.015 - 3s 195ms/step - loss: 7.7234 - accuracy: 0.016 - 3s 192ms/step - loss: 7.7264 - accuracy: 0.017 - 4s 188ms/step - loss: 7.7228 - accuracy: 0.018 - 4s 185ms/step - loss: 7.7184 - accuracy: 0.019 - 4s 183ms/step - loss: 7.7096 - accuracy: 0.020 - 4s 181ms/step - loss: 7.7071 - accuracy: 0.021 - 4s 178ms/step - loss: 7.6983 - accuracy: 0.021 - 4s 176ms/step - loss: 7.6892 - accuracy: 0.022 - 4s 175ms/step - loss: 7.6854 - accuracy: 0.024 - 5s 173ms/step - loss: 7.6854 - accuracy: 0.024 - 5s 173ms/step - loss: 7.6854 - accuracy: 0.0240
2422 次点击
所在节点    Python
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/609212

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX