问题描述:
faster_rcnn/eval.py
【操作步骤&问题现象】
1、运行faster_rcnn里的评估程序报 ValueError: `input_x rank` in `Concat` should be an int and must > 0, but got `0` with type `int`
参考:https://bbs.huaweicloud.com/forum/thread-126044-1-1.html 后使用hub里的 faster_rcnn预训练模型在自定义数据集上进行微调 还是报一样的错误。
另外:我在训练集上跑评估程序也是报一样的错误
想问下造成这个问题的原因和解决方法? 谢谢
解答:
对 src/FasterRcnn/faster_rcnn_resnet.py做如下修改,应该可以跑通。



