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

[Fix] Always map location to cpu when loading checkpoint #567

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

gaotongxiao
Copy link
Collaborator

@codecov
Copy link

codecov bot commented Nov 9, 2021

Codecov Report

Merging #567 (2159aae) into main (80741e1) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Current head 2159aae differs from pull request most recent head 4e2cf3d. Consider uploading reports for the commit 4e2cf3d to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main     #567      +/-   ##
==========================================
- Coverage   85.67%   85.66%   -0.02%     
==========================================
  Files         142      142              
  Lines        9543     9542       -1     
  Branches     1364     1364              
==========================================
- Hits         8176     8174       -2     
+ Misses       1052     1051       -1     
- Partials      315      317       +2     
Flag Coverage Δ
unittests 85.66% <0.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
mmocr/apis/inference.py 69.56% <0.00%> (+0.59%) ⬆️
mmocr/datasets/pipelines/transforms.py 83.99% <0.00%> (-0.34%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 80741e1...4e2cf3d. Read the comment docs.

@Harold-lkk Harold-lkk assigned Harold-lkk and unassigned Harold-lkk Nov 10, 2021
@Harold-lkk Harold-lkk self-requested a review November 10, 2021 02:10
@gaotongxiao gaotongxiao merged commit 37f8fcd into open-mmlab:main Nov 10, 2021
@gaotongxiao gaotongxiao deleted the fix_init_detector branch November 10, 2021 06:03
gaotongxiao added a commit to gaotongxiao/mmocr that referenced this pull request Jul 15, 2022
gaotongxiao added a commit to gaotongxiao/mmocr that referenced this pull request Jul 15, 2022
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