Skip to content

[Feat] Add layout scripts and update augmentations to Sample strategy#2067

Merged
felixdittrich92 merged 9 commits into
mindee:mainfrom
felixdittrich92:layout-scripts
May 22, 2026
Merged

[Feat] Add layout scripts and update augmentations to Sample strategy#2067
felixdittrich92 merged 9 commits into
mindee:mainfrom
felixdittrich92:layout-scripts

Conversation

@felixdittrich92
Copy link
Copy Markdown
Collaborator

@felixdittrich92 felixdittrich92 commented May 13, 2026

This PR:

  • Add latency, eval and train scripts for layout analysis
  • Add first documentation updates
  • Minor fixes for the dataset and dataloading
  • Refactor augmentation to Sample strategy and update tests

@felixdittrich92 felixdittrich92 added this to the 1.1.0 milestone May 13, 2026
@felixdittrich92 felixdittrich92 self-assigned this May 13, 2026
@felixdittrich92 felixdittrich92 added topic: documentation Improvements or additions to documentation topic: ci Related to CI ext: tests Related to tests folder module: datasets Related to doctr.datasets benchmark This issue reports a benchmark ext: references Related to references folder framework: pytorch Related to PyTorch backend type: new feature New feature ext: docs Related to docs folder topic: layout detection Related to document layout detection labels May 13, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 92.85714% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.67%. Comparing base (bc0db21) to head (cd8cae1).

Files with missing lines Patch % Lines
doctr/models/layout/lw_detr/base.py 85.29% 10 Missing ⚠️
doctr/transforms/modules/base.py 90.90% 6 Missing ⚠️
doctr/transforms/modules/pytorch.py 90.90% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2067      +/-   ##
==========================================
- Coverage   96.70%   96.67%   -0.03%     
==========================================
  Files         156      156              
  Lines        7276     7403     +127     
==========================================
+ Hits         7036     7157     +121     
- Misses        240      246       +6     
Flag Coverage Δ
unittests 96.67% <92.85%> (-0.03%) ⬇️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@felixdittrich92 felixdittrich92 marked this pull request as ready for review May 21, 2026 13:22
@felixdittrich92 felixdittrich92 changed the title [Feat] Add layout scripts and minor fixes [Feat] Add layout scripts and update augmentations to Sample strategy May 21, 2026
@felixdittrich92 felixdittrich92 merged commit 390330e into mindee:main May 22, 2026
55 of 59 checks passed
@felixdittrich92 felixdittrich92 deleted the layout-scripts branch May 22, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmark This issue reports a benchmark ext: docs Related to docs folder ext: references Related to references folder ext: tests Related to tests folder framework: pytorch Related to PyTorch backend module: datasets Related to doctr.datasets topic: ci Related to CI topic: documentation Improvements or additions to documentation topic: layout detection Related to document layout detection type: new feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant