模块'tensorflow'没有属性'numpy_function'

时间:2019-06-25 16:26:17

标签: python tensorflow

模块'tensorflow'没有属性'numpy_function' 跑步

tf.numpy_function(lambda x: x, [tf.zeros([5])], [tf.float32])

我尝试通过pip install --force-reinstall tensorflow-gpu重新安装tensorflow,但问题仍然存在。 在安装过程中,我收到以下消息:

  Found existing installation: wrapt 1.10.11
ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

0 个答案:

没有答案