kaggle 训练自己的cycleGan
生活随笔
收集整理的這篇文章主要介紹了
kaggle 训练自己的cycleGan
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1:Kaggle上面命令Proceed (y/n)的處理
- 直接在后面輸入yes
- https://blog.csdn.net/gdufsTFknight/article/details/107957433
2:查看tensorflow版本
import tensorflow as td tf.__version__3:keras-contrib
-
pip install git+https://www.github.com/keras-team/keras-contrib.git
4:kaggle約束
tensorflow-cloud 0.1.13 requires tensorboard>=2.3.0, but you have tensorboard 1.13.1 which is incompatible. tensorflow-cloud 0.1.13 requires tensorflow<3.0,>=1.15.0, but you have tensorflow 1.13.1 which is incompatible.4:kaggle 的 TF要求
-
kaggle要求tensorboard > 2.3.0, 1.15.0 < tensorflow < 3.0
5:No module named 'keras.backend.tensorflow_backen
- ModuleNotFoundError: No module named 'keras.backend.tensorflow_backend'; 'keras.backend' is not a package
- pip install tensorflow==2.2.0 then pip install Keras==2.2.0 This worked for me with Python 3.7.
-
https://stackoverflow.com/questions/60970093/modulenotfounderror-no-module-named-keras-backend-tensorflow-backend
6:module ‘tensorflow’ has no attribute ‘Session’
import tensorflow as tf tf.Session() # 在tf2之后,使用下面這個(gè) tf.compat.v1.Session() # 或者是重新安裝會(huì)tf1 的版本總結(jié)
以上是生活随笔為你收集整理的kaggle 训练自己的cycleGan的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Jenkins构建项目,JAVA_HOM
- 下一篇: OCR识别的总结课