报错如下:
Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
File “/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1278, in _do_call
return fn(*args)
File “/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1263, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File “/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py”, line 1350, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor ‘Placeholder_1’ with dtype float
[[Node: Placeholder_1 = Placeholderdtype=DT_FLOAT, shape=, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occu

在尝试运行神经网络预测时,遇到了TensorFlow的InvalidArgumentError,错误提示表明缺少对Placeholder_1张量的喂入值。错误发生在运行`sess.run()`时,可能原因是`feed_dict`中没有包含Placeholder_1对应的输入数据。解决方案是确保在调用`sess.run()`时,提供所有必要的占位符输入。
1604

被折叠的 条评论
为什么被折叠?



