Traceback (most recent call last): 老师这个是什么问题
来源:4-11 可视化利器TensorBoard(下)
zzc_110
2018-12-26
zzc@zzc-virtual-machine:~$ python tensorboard.py
2018-12-26 12:44:44.454409: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Traceback (most recent call last):
File “tensorboard.py”, line 24, in
result = sess.run(y, {x: 3.0})
File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py”, line 895, in run
run_metadata_ptr)
File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py”, line 1128, in _run
feed_dict_tensor, options, run_metadata)
File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py”, line 1344, in _do_run
options, run_metadata)
File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py”, line 1363, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: <exception str() failed>
1回答
-
根据信息,出错在
result = sess.run(y, {x: 3.0})
这一行,但是我对比了我的代码,这行没有问题。
你是没有动过这个 tensorboard.py 文件吗?还是文件里面前面的代码你修改过?
112019-11-11
相似问题