transformers/tests/models/pix2struct
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 Pix2Struct (#21400) 2023-03-22 16:53:52 +01:00
test_image_processing_pix2struct.py Refactor image processor testers (#25450) 2023-08-11 11:30:18 +01:00
test_modeling_pix2struct.py CI with num_hidden_layers=2 🚀🚀🚀 (#25266) 2023-08-02 20:22:36 +02:00
test_processor_pix2struct.py Pix2StructImageProcessor requires torch>=1.11.0 (#24270) 2023-06-14 17:05:40 +02:00