tensorFlow(cifar10官方例子)部分问题记录
2017-03-16 22:27
260 查看
1. cifar10的变量重复定义问题:argparse.ArgumentError: argument --batch_size: conflicting option string(s): --batch_size答案:Solved the problem. One is not supposed to execute python cifar10.py directly, but one should run python cifar10_train.py or python cifar10_eval.py instead. That's not surprising. The error indicated that something was trying to add the same commandline argument twice, which could result if one script didn't 'know' that a parser had already been defined.简单的说,就是重复定义,将重复定义的内容删除即可。
2. cifar10ValueError: All shapes must be fully defined: [TensorShape([Dimension(24), Dimension(24), Dimension(3)]), TensorShape([Dimension(None)])]答案:官方的bug,目前已经被修复了(2017年1月初修复)。相关内容:https://github.com/MartinThoma/algorithms/commit/38ce1f87d6e4396cde64fe831c2ead2507781270
2. cifar10ValueError: All shapes must be fully defined: [TensorShape([Dimension(24), Dimension(24), Dimension(3)]), TensorShape([Dimension(None)])]答案:官方的bug,目前已经被修复了(2017年1月初修复)。相关内容:https://github.com/MartinThoma/algorithms/commit/38ce1f87d6e4396cde64fe831c2ead2507781270
相关文章推荐
- tensorflow[cifar10官方例子]出错问题及解决方案
- 【小小问题集合3---本条记录某一字段由上条记录的部分内容与本记录部分内容计算而来】
- Drools 官方例子代码解读(一):高尔夫球员位置问题
- 【软考之路】C部分问题记录
- postgresql建库流程及其部分问题记录
- Unity学习日常问题记录七--尝试编写部分自己简单的碰撞规则一
- qmail igenus安装部分问题记录
- tensorflow学习之常用函数总结:tensorflow官方例子中的诸如tf.reduce_mean()这类函数
- 解决pomelo官方的chat例子不好用的问题
- android新浪微博开发-------授权部分实例+官方Api解析+可能遇到的问题
- 初学TensorFlow 存在报错问题记录——中文备注 python编码问题
- 转换BBSXP 2008到Discuz X1.5部分问题解决记录
- apple官方例子学习记录之LazyTableImages
- Maven学习:部分常见问题记录
- 1058 部分和问题【dfs+记录】
- 小小问题集合3---本条记录某一字段由上条记录的部分内容与本记录部分内容计算而来
- 解决extjs4.1官方例子kitchensink中TABle标题不能正常显示的问题
- 首个spring mvc 测试例子搭建遇到问题记录
- caffe使用cifar10数据集问题记录
- iOS 10、Xcode 8 遇到部分问题解决记录