PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.77k stars 2.88k forks source link

run the python -u tools/train.py -c configs/cascade_rcnn/cascade_rcnn_r50_fpn_1x_coco.yml --eval error #3740

Open fsfing opened 3 years ago

fsfing commented 3 years ago

75c6af499983fc5d022d375a31eb191 image

run the python -u tools/train.py -c configs/cascade_rcnn/cascade_rcnn_r50_fpn_1x_coco.yml --eval

give a error, I need help

heavengate commented 3 years ago

你好,你用的PaddleDetection和Paddle都是哪个版本呢

fsfing commented 3 years ago

@heavengate 我的PaddlePaddle 2.1.0

fsfing commented 3 years ago

@heavengate 我看上面的报错,是Tensor问题,说的是,我本应该是[-1, 4],这个应该是pre_bbox,但是实际得到不是这样

heavengate commented 3 years ago

PaddleDetection用的哪个版本呢,我本地跑了下没有报这个错

fsfing commented 3 years ago

PaddleDetection-Release2.1 @heavengate

heavengate commented 3 years ago

看你命令是单卡训练的?配置文件里的learning rate是按照8卡设置的,如果是单卡的话可以把lr除以8试下

fsfing commented 3 years ago

我尝试一下