错误原因:版本原因,’tensorflow.contrib’只有1.1x系列有。
报错信息:ModuleNotFoundError: No module named ‘tensorflow.contrib’或者module ‘tensorflow’ has no attribute ‘merge_summary’。
解决方法:
I had a similar problem and I solved it by:-
- upgrading python to 3.6
- pip uninstall tflearn
- pip install git+https://github.com/tflearn/tflearn.git
- As suggested in another solution tensorflow 2.0.0 does not support tflearn so I installed tensorflow==1.14.0
解决方案原地址
版权声明:本文为puffdoudou原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。