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

[references] Update detection augmentations #1577

Merged
merged 2 commits into from
May 3, 2024

Conversation

felixdittrich92
Copy link
Contributor

@felixdittrich92 felixdittrich92 commented May 2, 2024

This PR:

  • Update det augmentations (more cleaner split now: general | handy/bad copy | diff light etc. | None)
  • Extend OneOf that it can also be used for sample augmentations
  • Fix a small issue in RandomCrop

Tested on a (22K train / 4k val) hf PDFA dataset subset with an general improve of ~ +4% recall +6% precision +3% iou (only as an initial state we need to see how it works on your dataset)

Any feedback is welcome 🤗

@felixdittrich92 felixdittrich92 added type: enhancement Improvement ext: references Related to references folder module: transforms Related to doctr.transforms framework: pytorch Related to PyTorch backend framework: tensorflow Related to TensorFlow backend topic: text detection Related to the task of text detection labels May 2, 2024
@felixdittrich92 felixdittrich92 added this to the 0.9.0 milestone May 2, 2024
@felixdittrich92 felixdittrich92 self-assigned this May 2, 2024
Copy link

codecov bot commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.36%. Comparing base (2940d9d) to head (f700271).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1577      +/-   ##
==========================================
+ Coverage   96.35%   96.36%   +0.01%     
==========================================
  Files         163      163              
  Lines        7701     7702       +1     
==========================================
+ Hits         7420     7422       +2     
+ Misses        281      280       -1     
Flag Coverage Δ
unittests 96.36% <100.00%> (+0.01%) ⬆️

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.

@odulcy-mindee odulcy-mindee merged commit 56db176 into mindee:main May 3, 2024
75 of 81 checks passed
@felixdittrich92 felixdittrich92 deleted the det-aug branch May 3, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext: references Related to references folder framework: pytorch Related to PyTorch backend framework: tensorflow Related to TensorFlow backend module: transforms Related to doctr.transforms topic: text detection Related to the task of text detection type: enhancement Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants