transformers/utils
Jade Choghari 006d9249ec
Adding RT-DETRv2 for object detection (#34773)
* cookiecutter add rtdetrv2

* make modular working

* working modelgit add .

* working modelgit add .

* finalize moduar inheritence

* finalize moduar inheritence

* Update src/transformers/models/rtdetrv2/modular_rtdetrv2.py

Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>

* update modular and add rename

* remove output ckpt

* define loss_kwargs

* fix CamelCase naming

* fix naming + files

* fix modular and convert file

* additional changes

* fix modular

* fix import error (switch to lazy)

* fix autobackbone

* make style

* add

* update testing

* fix loss

* remove old folder

* fix testing for v2

* update docstring

* fix docstring

* add resnetv2 (with modular bug to fix)

* remove resnetv2 backbone

* fix changes

* small fixes

* remove rtdetrv2resnetconfig

* add rtdetrv2 name to convert

* make style

* Update docs/source/en/model_doc/rt_detr_v2.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update src/transformers/models/rt_detr_v2/modular_rt_detr_v2.py

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update src/transformers/models/rt_detr_v2/modular_rt_detr_v2.py

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* fix modular typo after review

* add reviewed changes

* add final review changes

* Update docs/source/en/model_doc/rt_detr_v2.md

Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>

* Update src/transformers/models/rt_detr_v2/__init__.py

Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>

* Update src/transformers/models/rt_detr_v2/convert_rt_detr_v2_weights_to_hf.py

Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>

* add review changes

* remove rtdetrv2 resnet

* removing this weird project change

* change ckpt name from jadechoghari to author

* implement review and update testing

* update naming and remove wrong ckpt

* name

* make fix-copies

* Fix RT-DETR loss

* Add resources, fix name

* Fix repo in docs

* Fix table name

---------

Co-authored-by: jadechoghari <jadechoghari@users.noreply.huggingface.co>
Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: qubvel <qubvel@gmail.com>
2025-02-06 19:28:45 +00:00
..
test_module
tf_ops
add_pipeline_model_mapping_to_test.py
check_bad_commit.py Fix utils/check_bad_commit.py (for auto ping in CI) (#34943) 2024-11-28 15:34:38 +01:00
check_build.py
check_config_attributes.py Adding RT-DETRv2 for object detection (#34773) 2025-02-06 19:28:45 +00:00
check_config_docstrings.py Add TimmWrapper (#34564) 2024-12-11 12:40:30 +00:00
check_copies.py Add ViTPose (#30530) 2025-01-08 16:02:14 +00:00
check_doc_toc.py
check_docstrings.py Refactoring of ImageProcessorFast (#35069) 2025-02-04 17:52:31 -05:00
check_doctest_list.py
check_dummies.py
check_inits.py
check_model_tester.py
check_modular_conversion.py Add support for modular with fast image processors (#35379) 2025-01-08 08:37:57 -05:00
check_repo.py add qwen2.5vl (#35569) 2025-01-23 11:23:00 +01:00
check_self_hosted_runner.py
check_support_list.py
check_table.py Add Falcon3 documentation (#35307) 2024-12-17 14:23:13 +01:00
check_tf_ops.py
create_dependency_mapping.py Fix modular edge case + modular sorting order (#35562) 2025-01-09 17:17:52 +01:00
create_dummy_models.py
custom_init_isort.py
deprecate_models.py
download_glue_data.py
extract_warnings.py
get_ci_error_statistics.py
get_github_job_time.py
get_modified_files.py
get_previous_daily_ci.py
get_test_info.py
important_models.txt
models_to_deprecate.py
modular_model_converter.py Refactoring of ImageProcessorFast (#35069) 2025-02-04 17:52:31 -05:00
not_doctested.txt Remove old benchmark code (#35730) 2025-01-21 17:56:43 +00:00
notification_service.py Remove old benchmark code (#35730) 2025-01-21 17:56:43 +00:00
notification_service_doc_tests.py
notification_service_quantization.py
past_ci_versions.py
patch_helper.py
pr_slow_ci_models.py Commont bot CI for other jobs (generation / quantization) (#35341) 2025-02-04 14:42:51 +01:00
print_env.py
process_bad_commit_report.py
process_circleci_workflow_test_reports.py Aggeregate test summary files in CircleCI workflow runs (#34989) 2024-12-16 11:06:17 +01:00
process_test_artifacts.py
release.py 🚨🚨🚨 Delete conversion scripts when making release wheels (#35296) 2024-12-17 14:18:42 +00:00
set_cuda_devices_for_ci.py
slow_documentation_tests.txt
sort_auto_mappings.py
split_doctest_jobs.py
split_model_tests.py
tests_fetcher.py Update test fetcher when we want to test all (#35364) 2024-12-20 15:10:43 +01:00
update_metadata.py Add ColPali to 🤗 transformers (#33736) 2024-12-17 11:26:43 +01:00
update_tiny_models.py