Tensorflow實現基於CNN的MNIST的手寫數字識別遇到的坑(spyder3)

1.tensorflow2.1的版本問題 module 'tensorflow' has no attribute 'placeholder' 運行報錯:tensorflow沒有placeholder函數javascript 解決方法:html import tensorflow as tf 替換成 import tensorflow.campat.v1 as tf tf.disable_v2_b
相關文章
相關標籤/搜索