Skip to content

Conversation

@charlesmindee
Copy link
Collaborator

symbol has been removed from vocab (but kept in _embedded), len(vocab) = size of the alphabet

@charlesmindee charlesmindee added type: bug Something isn't working module: models Related to doctr.models labels Feb 9, 2021
@charlesmindee charlesmindee self-assigned this Feb 9, 2021
@fg-mindee fg-mindee changed the title Fix: <eos> symbol removed from vocab str fix: <eos> symbol removed from vocab str Feb 9, 2021
@codecov
Copy link

codecov bot commented Feb 9, 2021

Codecov Report

Merging #74 (17f8fc1) into main (3839655) will decrease coverage by 0.54%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
- Coverage   94.09%   93.54%   -0.55%     
==========================================
  Files          23       23              
  Lines         745      744       -1     
==========================================
- Hits          701      696       -5     
- Misses         44       48       +4     
Flag Coverage Δ
unittests 93.54% <100.00%> (-0.55%) ⬇️

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

Impacted Files Coverage Δ
doctr/models/recognition/core.py 95.55% <100.00%> (ø)
doctr/models/recognition/postprocessor.py 90.47% <100.00%> (ø)
doctr/models/recognition/sar.py 98.01% <100.00%> (-0.02%) ⬇️
doctr/models/core.py 77.55% <0.00%> (-8.17%) ⬇️

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 3839655...3ebe2c5. Read the comment docs.

Copy link
Contributor

@fg-mindee fg-mindee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still confused about why we don't have to change the unittest 🤷‍♂️ I added extra suggestions to improve the PR

@fg-mindee fg-mindee added this to the 0.1.0 milestone Feb 9, 2021
Copy link
Contributor

@fg-mindee fg-mindee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a comment suggestion but the rest looks fine to me!

fg-mindee
fg-mindee previously approved these changes Feb 9, 2021
Copy link
Contributor

@fg-mindee fg-mindee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this critical fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: models Related to doctr.models type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants