transformers
c18b4fbe - Add class properties with warnings (#21195)

Comment changes are shownComment changes are hidden
Commit
2 years ago
Add class properties with warnings (#21195) * Replace reduce_labels with do_reduce_labels * Replace only for __init__ and preprocess * Add class properties with warnings * Update tests
Author
Parents
  • src/transformers/models
    • beit
      • File
        image_processing_beit.py
    • conditional_detr
      • File
        image_processing_conditional_detr.py
    • deformable_detr
      • File
        image_processing_deformable_detr.py
    • detr
      • File
        image_processing_detr.py
    • segformer
      • File
        image_processing_segformer.py
    • yolos
      • File
        image_processing_yolos.py
  • tests/models
    • beit
      • File
        test_image_processing_beit.py
    • segformer
      • File
        test_image_processing_segformer.py