-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Add MobileNetv2 config for YOLOv3 #5510
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5510 +/- ##
==========================================
+ Coverage 66.02% 66.36% +0.34%
==========================================
Files 279 279
Lines 21889 21962 +73
Branches 3629 3650 +21
==========================================
+ Hits 14452 14576 +124
+ Misses 6675 6635 -40
+ Partials 762 751 -11
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hi @ElectronicElephant , |
Application of access has been sent. I will upload it to the server. |
my bad, I have granted the permission |
Hi @ElectronicElephant , |
Hi @ZwwWayne , I have updated the readme file and fixed the lint issue. However, I do not have V100s, so I left the memory and inference time blank. Also, IMHO, considering the batch-size, 8x8 v.s. 4x16 may make a difference. A personal question: Are there ''standard'' ImageNet-pretrained weights for MobileNet? |
MobileNetV2 pretrained weights has been uploaded. Waiting for being merged open-mmlab/mmcv#1177 |
Hi, great thanks for your contribution! MobileNetV2 YoloV3 is a very popular model for mobile devices, we decide to support it in the next version.
I modified your config and trained on 416x416 input size:
The FLOPs and Params are lower and mAP is higher:
I think there is still room for improvement. |
Hi @RangiLyu , I'm glad to hear that. Just go ahead please. |
Updates:I add MobileNetV2 YOLOV3 416 and 320:
I'll test inference time later. |
yolov3 mobileNetv2 could convert to onnx, but the result is wrong. 2021-12-28 10:12:17.186626216 [W:onnxruntime:, graph.cc:1237 Graph] Initializer 1824 appears in graph inputs and will not be treated as constant value/weight. This may prevent some of the graph optimizations, like const folding. Move it out of graph inputs if there is no need to override it, by either re-generating the model with latest exporter/converter or with the tool onnxruntime/tools/python/remove_initializer_from_input.py. The right result is: my convert cmd
|
Hi, thanks for your report. Currently I do not have time to look into it. However, I would suggest you opening a new issue anyway. |
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
In #5450 , many people are interested in YOLOv3 based on MobileNetv2 backbone. So I just created such config file a few days earlier and trained this model on 4 A100 cards.
It's just a config file. No harm done. -:)
Pretrained models and log files will be added later.