python tensorflow 安裝

 

我是先下載tensorflow-1.5.0rc1-cp36-cp36m-win32.whl,再執行命令行安裝的html

下載地址:https://pypi.python.org/pypi/tensorflow/1.5.0rc1python

pip install tensorflow-1.5.0rc1-cp36-cp36m-win32.whl

 

pip安裝報錯:is not a supported wheel on this platform學習

https://www.cnblogs.com/nice-forever/p/5371906.htmlthis

 

 

缺乏模塊.net

numpy命令行

cv2scala

注:須要在管理員模式運行orm

 

TensorFlow不一樣版本引發的錯誤:htm

前4個是 V0.11 的API 用在 V1.0 的錯誤blog

1. AttributeError: 'module' object has no attribute 'merge_all_summaries'

>> tf.merge_all_summaries() 改成:summary_op = tf.summary.merge_all()

 

2. AttributeError: 'module' object has no attribute 'SummaryWriter'

>> tf.train.SummaryWriter 改成:tf.summary.FileWriter

 

3. AttributeError: 'module' object has no attribute 'scalar_summary'

>> tf.scalar_summary 改成:tf.summary.scalar

 

4. AttributeError: 'module' object has no attribute 'histogram_summary'

>> histogram_summary 改成:tf.summary.histogram
 
下邊這個是 V1.0 的API 用在 V0.11 的錯誤
File "dis-alexnet_benchmark.py", line 110, in alexnet_v2
    biases_initializer=tf.zeros_initializer(),
TypeError: zeros_initializer() takes at least 1 argument (0 given)
>> 將 biases_initializer=tf.zeros_initializer() 改成:biases_initializer=tf.zeros_initializer
 
 

 

乾貨 win10安裝TensorFlow填坑筆記:http://blog.csdn.net/chewinggum/article/details/70373098

【TensorFlow】Windows10 64 位下安裝 TensorFlow - 官方原生支持:http://blog.csdn.net/u010099080/article/details/53418159

Windows下安裝tensorflow步驟:http://blog.csdn.net/chongtong/article/details/53905625?locationNum=6&fps=1

TensorFlow 安裝教程:http://blog.csdn.net/bitcarmanlee/article/details/52749488

 

學習

知乎:https://www.zhihu.com/question/49909565

極客:http://wiki.jikexueyuan.com/project/tensorflow-zh/

相關文章
相關標籤/搜索