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

read labels in utf-8 and log input string on vocab error #1479

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

eikaramba
Copy link
Contributor

fixes issues raised in #1366 where vocab issues arrise if labels.json file is not processed in correct encoding

@felixdittrich92 felixdittrich92 added this to the 0.8.0 milestone Feb 23, 2024
@felixdittrich92 felixdittrich92 added topic: documentation Improvements or additions to documentation type: enhancement Improvement module: datasets Related to doctr.datasets topic: text recognition Related to the task of text recognition labels Feb 23, 2024
@felixdittrich92 felixdittrich92 self-assigned this Feb 23, 2024
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.82%. Comparing base (dd1fbbe) to head (316b8e0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1479   +/-   ##
=======================================
  Coverage   95.82%   95.82%           
=======================================
  Files         162      162           
  Lines        7116     7116           
=======================================
  Hits         6819     6819           
  Misses        297      297           
Flag Coverage Δ
unittests 95.82% <100.00%> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@felixdittrich92
Copy link
Contributor

@eikaramba Thanks for the PR 👍
Could you run make style please to fix formating afterwards we are fine

Copy link
Contributor

@felixdittrich92 felixdittrich92 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 the quick improvements 🤗

@felixdittrich92 felixdittrich92 merged commit d547ef9 into mindee:main Feb 23, 2024
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: datasets Related to doctr.datasets topic: documentation Improvements or additions to documentation topic: text recognition Related to the task of text recognition type: enhancement Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants