transformers/tests/models/mask2former
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 Mask2Former (#20792) 2023-01-16 20:37:07 +03:00
test_image_processing_mask2former.py Refactor image processor testers (#25450) 2023-08-11 11:30:18 +01:00
test_modeling_mask2former.py Add mask2former fp16 support (#25093) 2023-08-07 20:07:29 +01:00