transformers/tests/models/donut
amyeroberts 41d56ea6dd
Refactor image processor testers (#25450)
* Refactor image processor test mixin

- Move test_call_numpy, test_call_pytorch, test_call_pil to mixin
- Rename mixin to reflect handling of logic more than saving
- Add prepare_image_inputs, expected_image_outputs for tests

* Fix for oneformer
2023-08-11 11:30:18 +01:00
..
__init__.py Add Donut (#18488) 2022-08-12 16:40:58 +02:00
test_image_processing_donut.py Refactor image processor testers (#25450) 2023-08-11 11:30:18 +01:00
test_modeling_donut_swin.py 🔥Rework pipeline testing by removing PipelineTestCaseMeta 🚀 (#21516) 2023-02-28 19:40:57 +01:00
test_processing_donut.py Optimizes DonutProcessor token2json method for speed (#20283) 2022-11-22 10:40:59 -05:00