ImportError: cannot import name '_get_logger' Niftynet

天涯浪子 提交于 2019-12-04 17:24:58

You need to install only tensorflow-gpu, and install the correct version for it. First uninstall everything:

pip3 uninstall tensorflow-gpu tensorflow

Then reinstall the correct tensorflow-gpu version

pip3 install --user tensorflow-gpu==1.12

The version is mentioned in the installation guide: https://niftynet.readthedocs.io/en/dev/installation.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!