在用tensorflow的deeplab v3+训练自己的数据集之后,使用eval.py做测试报错:
tensorflow.python.framework.errors_impl.InvalidArgumentError: assertion failed: [predictions
out of bound] [Condition x < y did not hold element-wise:] [x (mean_iou/confusion_matrix/control_dependency_1:0) = ] [0 0 0...] [y (mean_iou/ToInt64_2:0) = ] [11]
不知道有没有人遇到过这种情况?有没有大佬知道这是怎么回事,应该怎么处理?
用deeplab v3+训练自己的数据集测试时报错
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- 木头VS星星 2018-07-17 02:51关注
你的label数据是怎么样的? RGB通道还是单通道? 我之前是在跑VOC2012时,未对Label数据进行处理,导致的这个错误,修改后就没问题的了,
详情可以看这里: https://blog.csdn.net/weixin_41713230/article/details/81076292 (图像语义分割 Deeplab v3+报错[predictions
out of bound]解决办法)解决 无用评论 打赏 举报