首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Windows上的Tensorflow for Poets (Retraining Inception)

Windows上的Tensorflow for Poets (Retraining Inception)
EN

Stack Overflow用户
提问于 2017-06-07 17:06:02
回答 0查看 1.8K关注 0票数 0

当我学习"How to Retrain Inception's Final Layer for New Categories"的教程时,我是在Windows上运行python retrain.py。我没有对文件retrain.py进行任何更改。在创建了将近7300个瓶颈文件后,我得到了以下错误

代码语言:javascript
复制
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'
EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44408204

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档