-
Notifications
You must be signed in to change notification settings - Fork 119
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
Why the mAP(0.06) so low? Same dataset, same batch-size, when trained with ultralytics/yolov5, mAP is 0.90 within less than 200 epochs. #16
Comments
Don't know if anything I need to be notified of before training with code in this repo.... |
@ShirleyHe2020 can you tell me which backbone ? I will verify it. |
@yl305237731 I also encountered the same problem, using EfficientNet: |
@Zpadger 😳,OK ,i will try this backbone. |
@yl305237731 I just located the problem, and it seems I know the reason, I forgot to change the classes in the model_efficient.yaml file,so the "nc" is still "nc : 1".I have corrected the value now, and I am going to continue to run the experiment and wait for tomorrow to verify the result. |
@Zpadger i have try efficientnet B2 as backbone, it's no problem. |
@ShirleyHe2020 hi, may be your problem is same as @Zpadger , so check nc in model_XXXX.yaml. |
@yl305237731 I got up in the morning and looked at the training results. There is no problem with the EfficientNet model. At present, the mAP of Epoch35/49 has reached 0.982. Thank you for your contribution. |
from my side, all the backbones ( mobilenet, efficientnet, reset ) suffer the same issue. |
@ShirleyHe2020 i think you forget to change the nc to your dataset in model_xxx.yaml |
thanks @Zpadger , same issue , 'nc' changed then mAP reached expected level |
Hi @ShirleyHe2020 @Zpadger Where to load the efficientnet weights when using the B6 as backbone? It does not remind me to download weights or load it. |
@Lg955 hi, i have try b6, there is no problem add pretrained: True in model_efficientnet.yaml under backbone |
@Lg955 for above information, I can't see the problem. and i test b2, there is no problem |
Hi, @yl305237731 when detect imgs, the pred result is empty after NMS(pred result is OK before NMS), have you encountered the same problem? `pred before NMS tensor([[[7.02863e+00, 4.92409e+00, 2.66565e+01, ..., 3.92634e-02, 1.15775e-01, 2.56261e-03], /------------------------/ pred after NMS [tensor([], device='cuda:0', size=(0, 6))]` |
The text was updated successfully, but these errors were encountered: