Tensorflow error : Assign requires shapes of both tensors to match
来源:互联网 发布:arp欺骗工具 windows 编辑:程序博客网 时间:2024/05/22 13:57
When training faster-rcnn model for object detection job (I have used a third-party tensorflow version: https://github.com/endernewton/tf-faster-rcnn)
Met the error :
ERROR MESSAGE
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [1000] rhs shape= [1001]
[[Node: save/Assign_8 = Assign[T=DT_FLOAT, _class=["loc:/Conv2d_2b_1x1/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](InceptionV3/AuxLogits/Conv2d_2b_1x1/biases, save/RestoreV2_8)]]
According to the discussion here :https://github.com/tensorflow/tensorflow/issues/6883
Just delete the previous files in the output folder
error 2:IndexError: list index out of range
error2 解决办法:
删除fast-rcnn-master/data/cache/ 文件夹下的.pkl文件,或者改名备份,重新训练即可
- Tensorflow error : Assign requires shapes of both tensors to match
- tensorflow:Input 'ref' of 'Assign' Op requires l-value input
- How to convert a list of tensors into a tensor
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init
- [ios]关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to \'self\' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- Swift Compiler Error Cannot assign to the result of this expression
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 关于error:Cannot assign to 'self' outside of a method in the init family
- Manacher 算法总结
- 旋转变换矩阵求逆
- margin负值的布局使用
- android框架层ServiceConnection详解
- [js]①栈和队列~2、简单队列--数据结构回忆小笔记
- Tensorflow error : Assign requires shapes of both tensors to match
- iOS巅峰之学习封装动态库文件详细步骤及问题解决方案
- rhel6.7运行级别和开机自启
- keepalived与LVS实现高可用
- 升级Xcode 9 QNNPing.m expected parameter declarator
- druid 监听用户密码管理
- MOBA手游《小米超神》案例精讲
- 获取短信按钮倒计时60秒
- git 忽略 .idea文件