深度学习100例 - 常见错误 及 处理办法
生活随笔
收集整理的這篇文章主要介紹了
深度学习100例 - 常见错误 及 处理办法
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
文章目錄
- 1.module ‘tensorflow._api.v2.data‘ has no attribute ‘AUTOTUNE
- 2.module 'tensorflow.keras.preprocessing' has no attribute 'image_dataset_from_directory
來自專欄: 《深度學習100例》
可以Ctrl+F進行全文查找,持續(xù)更新中…
1.module ‘tensorflow._api.v2.data‘ has no attribute ‘AUTOTUNE
解決辦法: 將AUTOTUNE = tf.data.AUTOTUNE更換為AUTOTUNE = tf.data.experimental.AUTOTUNE
2.module ‘tensorflow.keras.preprocessing’ has no attribute 'image_dataset_from_directory
解決辦法: 升級TensorFlow,我的版本是TensorFlow2.4.1,你也可以升級為更高的版本
pip install tensorflow2.4.1
總結
以上是生活随笔為你收集整理的深度学习100例 - 常见错误 及 处理办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 深度学习100例-卷积神经网络(Alex
- 下一篇: 深度学习100例-卷积神经网络(CNN)