"vscode:/vscode.git/clone" did not exist on "7fcee113c163a95d1b125ef35dc49a0a1aa13a50"
  1. 25 Jun, 2024 1 commit
  2. 11 Jun, 2024 1 commit
    • amyeroberts's avatar
      Fast image processor (#28847) · f53fe35b
      amyeroberts authored
      
      
      * Draft fast image processors
      
      * Draft working fast version
      
      * py3.8 compatible cache
      
      * Enable loading fast image processors through auto
      
      * Tidy up; rescale behaviour based on input type
      
      * Enable tests for fast image processors
      
      * Smarter rescaling
      
      * Don't default to Fast
      
      * Safer imports
      
      * Add necessary Pillow requirement
      
      * Woops
      
      * Add AutoImageProcessor test
      
      * Fix up
      
      * Fix test for imagegpt
      
      * Fix test
      
      * Review comments
      
      * Add warning for TF and JAX input types
      
      * Rearrange
      
      * Return transforms
      
      * NumpyToTensor transformation
      
      * Rebase - include changes from upstream in ImageProcessingMixin
      
      * Safe typing
      
      * Fix up
      
      * convert mean/std to tesnor to rescale
      
      * Don't store transforms in state
      
      * Fix up
      
      * Update src/transformers/image_processing_utils_fast.py
      Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
      
      * Update src/transformers/models/auto/image_processing_auto.py
      Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
      
      * Update src/transformers/models/auto/image_processing_auto.py
      Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
      
      * Update src/transformers/models/auto/image_processing_auto.py
      Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
      
      * Warn if fast image processor available
      
      * Update src/transformers/models/vit/image_processing_vit_fast.py
      
      * Transpose incoming numpy images to be in CHW format
      
      * Update mapping names based on packages, auto set fast to None
      
      * Fix up
      
      * Fix
      
      * Add AutoImageProcessor.from_pretrained(checkpoint, use_fast=True) test
      
      * Update src/transformers/models/vit/image_processing_vit_fast.py
      Co-authored-by: default avatarPavel Iakubovskii <qubvel@gmail.com>
      
      * Add equivalence and speed tests
      
      * Fix up
      
      ---------
      Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
      Co-authored-by: default avatarPavel Iakubovskii <qubvel@gmail.com>
      f53fe35b
  3. 07 Jun, 2024 1 commit
  4. 22 May, 2024 1 commit
  5. 16 Apr, 2024 1 commit
  6. 25 Mar, 2024 1 commit
  7. 12 Mar, 2024 1 commit
  8. 16 Feb, 2024 1 commit
  9. 11 Jan, 2024 1 commit
  10. 30 Oct, 2023 1 commit
  11. 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
  12. 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
  13. 02 Aug, 2023 1 commit
  14. 29 Jun, 2023 1 commit
  15. 22 Jun, 2023 1 commit
  16. 21 Jun, 2023 1 commit
  17. 20 Jun, 2023 1 commit
  18. 14 Jun, 2023 1 commit
  19. 05 Jun, 2023 1 commit
  20. 16 May, 2023 1 commit
  21. 26 Apr, 2023 1 commit
  22. 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
  23. 03 Apr, 2023 2 commits
  24. 29 Mar, 2023 1 commit
  25. 27 Mar, 2023 1 commit
  26. 22 Mar, 2023 1 commit