transformers
5b949623 - Add OneFormer Model (#20577)

Commit
2 years ago
Add OneFormer Model (#20577) * Add Oneformer Model * Add OneFormer Tests * Add UNIVERSAL_SEGMENTATION_MAPPING * Fix config * :bug: Fix error encountered while writing tests * :hammer: Fix instance segmentation post processing * Format Files and Add Documentation * Add Documentation mdx file * Run make fixup * Run make fix-copies * Remove unnecessary code * Format modeling_oneformer.py * Add OneFormer to ImageSegmentationPipeline * Format files * Add Demo link to Readme * Fix fomatting errors * Fix test failures * Update Table in index.mdx * Fix version * Fix style * Remove OneFormer from TF * Fix Imports * Fix dummy objects * Fix tests * Add newline * Remove OneFormerFeatureExtractor * Remove CUDA Kernels * Use AutoBackbone for Swin * Fix description * Use Image Processor * Fix copies * Fix formatting * Fix import order * Fix flake8 errors * Fix doc errors * Add Hindi Readme entry * Update supported backbones * Update supported backbones * Undo Changes * Fix type of config * Fix isort * Fix auto.mdx * Fix swin config * Replace DinatBackbone with AutoBackbone * Use SwinBackbone * Use SwinBackbone * Fix conversion script * Fix arguments * Add argument description * Fix style * Add OneFormerProcessor * Fix OneFormerProcessor Tests * Fix mapping * Fix imports * Fix inits * Fix style * Fix comment * Fix docstring * Move OneFormer to MultiModal * Fix Copies * Remove size divisor * Fix check_repo.py * Fix copies * Add Processor for Testing Pipeline * Fix padding for tokens * Fix variables * Fix formatting with correct black version * Add Image Processor Test * Apply suggestions * Revert common modeling * Add check for task * Fix conversion script * Fix initialization order * Fix tests * Undo Pipeline Changes * Fix layers in MLP * Fix copies * Update image paths * Fix copies * Apply suggestions
Author
Parents
  • File
    README.md
  • File
    README_es.md
  • File
    README_hd.md
  • File
    README_ja.md
  • File
    README_ko.md
  • File
    README_zh-hans.md
  • File
    README_zh-hant.md
  • docs/source
    • de
      • File
        index.mdx
    • en
      • File
        _toctree.yml
      • File
        index.mdx
      • model_doc
        • File
          oneformer.mdx
    • es
      • File
        index.mdx
    • it
      • File
        index.mdx
    • ko
      • File
        index.mdx
    • pt
      • File
        index.mdx
  • src/transformers
    • File
      __init__.py
    • models
      • File
        __init__.py
      • auto
        • File
          configuration_auto.py
        • File
          image_processing_auto.py
        • File
          modeling_auto.py
        • File
          processing_auto.py
        • File
          tokenization_auto.py
      • oneformer
        • File
          __init__.py
        • File
          configuration_oneformer.py
        • File
          convert_to_hf_oneformer.py
        • File
          image_processing_oneformer.py
        • File
          modeling_oneformer.py
        • File
          processing_oneformer.py
    • utils
      • File
        dummy_pt_objects.py
      • File
        dummy_vision_objects.py
  • tests/models/oneformer
    • File
      __init__.py
    • File
      test_image_processing_oneformer.py
    • File
      test_modeling_oneformer.py
    • File
      test_processor_oneformer.py
  • utils
    • File
      documentation_tests.txt