mindee / doctr

docTR (Document Text Recognition) - a seamless, high-performing & accessible library for OCR-related tasks powered by Deep Learning.
https://mindee.github.io/doctr/
Apache License 2.0
3.31k stars 397 forks source link

[bug] remove TF multiprocessing workers #1635

Closed felixdittrich92 closed 3 weeks ago

felixdittrich92 commented 3 weeks ago

This PR:

@odulcy-mindee as discussed ^^

Any feedback is welcome :hugs:

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.37%. Comparing base (5eda559) to head (51be423).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1635 +/- ## ========================================== - Coverage 96.39% 96.37% -0.03% ========================================== Files 164 164 Lines 7716 7715 -1 ========================================== - Hits 7438 7435 -3 - Misses 278 280 +2 ``` | [Flag](https://app.codecov.io/gh/mindee/doctr/pull/1635/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mindee) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/mindee/doctr/pull/1635/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mindee) | `96.37% <100.00%> (-0.03%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mindee#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

felixT2K commented 3 weeks ago

Thank you @felixdittrich92 ! Hopefully, TF will work as expected

Yeah that's not optimal (for training) but for the moment better as crashing all the time ^^