0
當我按照"How to Retrain Inception's Final Layer for New Categories"的教程時,我在Windows上運行python retrain.py
。我沒有對文件retrain.py
進行任何更改。我收到以下錯誤近7300瓶頸文件被創建Windows上的詩人(再培訓初始)的Tensorflow
Creating bottleneck at /tmp/bottleneck\daisy\9204730092_a7f2182347.jpg.txt
Creating bottleneck at /tmp/bottleneck\daisy\99306615_739eb94b9e_m.jpg.txt
7300 bottleneck files created.
Traceback (most recent call last):
File "retrain.py", line 930, in <module>
tf.app.run()
File "C:\Users\student\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "retrain.py", line 846, in main
bottleneck_tensor)
File "retrain.py", line 755, in add_final_training_ops
variable_summaries(layer_weights, layer_name + '/weights')
File "retrain.py", line 711, in variable_summaries
tf.scalar_summary('mean/' + name, mean)
AttributeError: module 'tensorflow' has no attribute 'scalar_summary'
謝謝!工作得很好。 – AkDB
歡迎。如果這工作,你可能想投票並接受答案:-) –
聲望低於15 :( – AkDB