标题: 自学小白求助division by zero [打印本页] 作者: 瓜皮 时间: 2018-10-22 09:28 标题: 自学小白求助division by zero C:\Users\lenovo\AppData\Local\Programs\Python\Python36\python.exe E:/pywork/test.py
2018-10-22 09:10:17.752695: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Traceback (most recent call last):
File "E:/pywork/test.py", line 151, in <module>
print(" train loss: %f" % (train_loss / n_batch))
ZeroDivisionError: division by zero