1. 16 Aug, 2023 1 commit
    • amyeroberts's avatar
      Input data format (#25464) · 6bca43bb
      amyeroberts authored
      * Add copied from statements for image processors
      
      * Move out rescale and normalize to base image processor
      
      * Remove rescale and normalize from vit (post rebase)
      
      * Update docstrings and tidy up
      
      * PR comments
      
      * Add input_data_format as preprocess argument
      
      * Resolve tests and tidy up
      
      * Remove num_channels argument
      
      * Update doc strings -> default ints not in code formatting
      6bca43bb
  2. 11 Aug, 2023 1 commit
    • 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
  3. 02 Aug, 2023 1 commit
  4. 29 Jun, 2023 1 commit
  5. 22 Jun, 2023 1 commit
  6. 21 Jun, 2023 1 commit
  7. 20 Jun, 2023 1 commit
  8. 14 Jun, 2023 1 commit
  9. 05 Jun, 2023 1 commit
  10. 16 May, 2023 1 commit
  11. 26 Apr, 2023 1 commit
  12. 13 Apr, 2023 1 commit
    • NielsRogge's avatar
      [Pix2struct] Simplify generation (#22527) · 8eb38f63
      NielsRogge authored
      * Add model to doc tests
      
      * Remove generate and replace by prepare_inputs_for_generation
      
      * More fixes
      
      * Remove print statements
      
      * Update integration tests
      
      * Fix generate
      
      * Remove model from auto mapping
      
      * Use auto processor
      
      * Fix integration tests
      
      * Fix test
      
      * Add inference code snippet
      
      * Remove is_encoder_decoder
      
      * Update docs
      
      * Remove notebook link
      8eb38f63
  13. 03 Apr, 2023 2 commits
  14. 29 Mar, 2023 1 commit
  15. 27 Mar, 2023 1 commit
  16. 22 Mar, 2023 1 commit