-
Notifications
You must be signed in to change notification settings - Fork 152
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
Support upstream yolov5 P6 models #196
Conversation
Codecov Report
@@ Coverage Diff @@
## master #196 +/- ##
==========================================
+ Coverage 96.49% 96.83% +0.34%
==========================================
Files 10 10
Lines 599 601 +2
==========================================
+ Hits 578 582 +4
+ Misses 21 19 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
4c891b7
to
1f738f4
Compare
|
96097a5
to
9a6f91a
Compare
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
e2b1667
to
b96855e
Compare
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
696228d
to
71fa624
Compare
We use the similar interface to load yolov5 P6 series models, which was first proposed in ultralytics/yolov5#2110 and released in ultralytics/yolov5#2762 , and we also support the latest version as described in ultralytics/yolov5#5141 .
Note: We haven't added the pertained weights for P6 series models, and we will add these in a follow-up PR. (EDIT: Added in #206)
If you want load the custom checkpoint trained by ultralytics/yolov5, use the following snippets.
This PR is
bc-breaking
, we deprecate theupdate_module_state_from_ultralytics
and useload_from_ultralytics
instead in./yolort/utils/update_module_state.py
.https://github.com/zhiqwang/yolov5-rt-stack/blob/4b3454eb10f7cb4ef784036de01d0f79e72bee86/yolort/utils/update_module_state.py#L11-L20
Close #144 .