transformers
5b949623
- Add OneFormer Model (#20577)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Previous Change (CTRL+↑)
Next Change (CTRL+↓)
Expand Context Lines
Collapse Context Lines
Hide Minimap (CTRL+M)
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
References
#27720 - Add common processor tests
#32831 - [Docs] Update resources
#29969 - [SigLIP] Add fast tokenizer
#33111 - [Backbone] Remove out_features everywhere
#33174 - [Zero-shot image classification pipeline] Remove tokenizer_kwargs
#20577 - Add OneFormer Model
Author
praeclarumjj3
Parents
6d676643
Files
35
README.md
README_es.md
README_hd.md
README_ja.md
README_ko.md
README_zh-hans.md
README_zh-hant.md
docs/source
de
index.mdx
en
_toctree.yml
index.mdx
model_doc
oneformer.mdx
es
index.mdx
it
index.mdx
ko
index.mdx
pt
index.mdx
src/transformers
__init__.py
models
__init__.py
auto
configuration_auto.py
image_processing_auto.py
modeling_auto.py
processing_auto.py
tokenization_auto.py
oneformer
__init__.py
configuration_oneformer.py
convert_to_hf_oneformer.py
image_processing_oneformer.py
modeling_oneformer.py
processing_oneformer.py
utils
dummy_pt_objects.py
dummy_vision_objects.py
tests/models/oneformer
__init__.py
test_image_processing_oneformer.py
test_modeling_oneformer.py
test_processor_oneformer.py
utils
documentation_tests.txt
Loading