8000 [Enchancement] Only keep meta and state_dict when publish model by Harold-lkk · Pull Request #1729 · open-mmlab/mmocr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Enchancement] Only keep meta and state_dict when publish model #1729

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

Merged
merged 2 commits into from
Feb 15, 2023

Conversation

Harold-lkk
Copy link
Collaborator

open-mmlab/mmdetection#9356

Motivation

The checkpoint saved by mmengine contains more keys (e.g. message_hub, param_scheduler). These parts are very large and may take dozens or even hundreds of MB.

Modification

Pop the keys except for meta and state_dict.

@codecov
Copy link
codecov bot commented Feb 15, 2023

Codecov Report

Base: 88.30% // Head: 88.30% // No change to project coverage 👍

Coverage data is based on head (30c9e96) compared to base (332089c).
Patch has no changes to coverable lines.

❗ Current head 30c9e96 differs from pull request most recent head bc355ad. Consider uploading reports for the commit bc355ad to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           dev-1.x    #1729   +/-   ##
========================================
  Coverage    88.30%   88.30%           
========================================
  Files          175      175           
  Lines        10904    10904           
  Branches      1529     1529           
========================================
  Hits          9629     9629           
  Misses         993      993           
  Partials       282      282           
Flag Coverage Δ
unittests 88.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@gaotongxiao gaotongxiao merged commit 7cea6a6 into open-mmlab:dev-1.x Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0