• amyeroberts's avatar
    Refactor image processor testers (#25450) · 41d56ea6
    amyeroberts authored
    * 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
    41d56ea6
test_image_processing_swin2sr.py 6.27 KB