keras、tensorflow 版本问题比较烦人
keras 版本太高
TypeError: while_loop() got an unexpected keyword argument 'maximum_iterations'
解决办法
pip install keras==2.1 -i https://pypi.douban.com/simple
keras 版本太低,目前不影响使用,但建议使用2.1.6
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
keras-preprocessing 1.0.1 requires keras>=2.1.6, but you'll have keras 2.1.0 which is incompatible.
keras-applications 1.0.2 requires keras>=2.1.6, but you'll have keras 2.1.0 which is incompatible.
解决办法
pip install keras==2.1.6 -i https://pypi.douban.com/simple
欢迎大家交流学习,任何问题都可以留言
还没有评论,来说两句吧...