Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RT-DETR训练进程过半后,所有evaluation环节结果为0 #8380

Closed
1 task done
hahapt opened this issue Jun 19, 2023 · 4 comments
Closed
1 task done

RT-DETR训练进程过半后,所有evaluation环节结果为0 #8380

hahapt opened this issue Jun 19, 2023 · 4 comments
Assignees
Labels
question Further information is requested rtdetr status/close

Comments

@hahapt
Copy link

hahapt commented Jun 19, 2023

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

在模型训练至第49个epoch并进行evaluation时,一切结果正常如下:
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.750
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.920
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.805
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.066
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.666
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.896
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.340
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.785
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.827
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.190
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.785
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.931

在模型训练至第54个epoch后,所有evaluation结果为0:
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000

在第49至54个epoch训练过程中,并未出现异常报错

@hahapt hahapt added the question Further information is requested label Jun 19, 2023
@wmjlincy
Copy link

你好,我从一开始训练的mAP都是0,但是loss在下降,请问你解决了吗,可不可以指导一下,非常感谢~

@hzhaoy
Copy link

hzhaoy commented Jul 7, 2023

同问,请问你们解决了吗 @hahapt @wmjlincy

@lyuwenyu
Copy link
Collaborator

你们使用的代码的commit id是多少, 这个是在coco上试验的原始的代码 https://github.com/lyuwenyu/RT-DETR 可以先试一下 @hahapt @wmjlincy @hzhaoy

@hzhaoy
Copy link

hzhaoy commented Jul 14, 2023

你们使用的代码的commit id是多少, 这个是在coco上试验的原始的代码 https://github.com/lyuwenyu/RT-DETR 可以先试一下 @hahapt @wmjlincy @hzhaoy

@lyuwenyu 好的谢谢!我这边是ppyoloe的问题,已经解决了,主要是因为有些图片名有中文导致无法读取,样本数比batch_szie,所以训练不成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested rtdetr status/close
Projects
None yet
Development

No branches or pull requests

4 participants