Anaconda安裝
安裝鏈接:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
Anaconda與python版本對應關係:
https://blog.csdn.net/yuejisuo1948/article/details/81043823
tensorflow與python關係
https://blog.csdn.net/qq_27825451/article/details/89082978
torch與cuda版本關係
https://pytorch.org/get-started/previous-versions/
No module named ‘tensorflow’
可能是裝到了其他環境中,注重一下
keras安裝與tensorflow-gpu版本要求
https://blog.csdn.net/Finks_Chen/article/details/103914729
No module named ’ tensorflow.keras ’ 報錯
可能是keras安裝位置的問題,可按下文方法查找一下
https://blog.csdn.net/Eric_Blog_CSDN/article/details/88420234
問題:No module named ‘tensorflow.python.training.tracking’
將
from tensorflow.python.training.tracking import data_structures
換成
from tensorflow.python.training.checkpointable import data_structures
問題:dropout() got an unexpected keyword argument ‘rate’
將
out = tf.nn.dropout(inputs, noise_shape=noise_shape, rate=drop_rate, name="Dropout")
換成
out = tf.nn.dropout(inputs, keep_prob=drop_rate,noise_shape=noise_shape, name="Dropout")
問題:softmax_cross_entropy_with_logits_v2() got an unexpected keyword argument ‘axis’
將
loss = tf.nn.softmax_cross_entropy_with_logits_v2( labels=_labels_oh, logits=logits, axis=-1, name="SoftmaxCrossEntropy")
換成
loss = tf.nn.softmax_cross_entropy_with_logits_v2(labels=_labels_oh, logits=logits, dim=-1, name="SoftmaxCrossEntropy")
wifi驅動下載位置參照:
https://blog.csdn.net/qq_42427109/article/details/102066928