Yoni Gozlan
94f18cf23c
Add OmDet-Turbo (#31843)
* Add template with add-new-model-like
* Add rough OmDetTurboEncoder and OmDetTurboDecoder
* Add working OmDetTurbo convert to hf
* Change OmDetTurbo encoder to RT-DETR encoder
* Add swin timm backbone as default, add always partition fix for swin timm
* Add labels and tasks caching
* Fix make fix-copies
* Format omdet_turbo
* fix Tokenizer tests
* Fix style and quality
* Reformat omdet_turbo
* Fix quality, style, copies
* Standardize processor kwargs
* Fix style
* Add output_hidden_states and ouput_attentions
* Add personalize multi-head attention, improve docstrings
* Add integrated test and fix copy, style, quality
* Fix unprotected import
* Cleanup comments and fix unprotected imports
* Add fix different prompts in batch (key_padding_mask)
* Add key_padding_mask to custom multi-head attention module
* Replace attention_mask by key_padding_mask
* Remove OmDetTurboModel and refactor
* Refactor processing of classes and abstract use of timm backbone
* Add testing, fix output attentions and hidden states, add cache for anchors generation
* Fix copies, style, quality
* Add documentation, conver key_padding_mask to attention_mask
* revert changes to backbone_utils
* Fic docstrings rst
* Fix unused argument in config
* Fix image link documentation
* Reorder config and cleanup
* Add tokenizer_init_kwargs in merge_kwargs of the processor
* Change AutoTokenizer to CLIPTokenizer in convert
* Fix init_weights
* Add ProcessorMixin tests, Fix convert while waiting on uniform kwargs
* change processor kwargs and make task input optional
* Fix omdet docs
* Remove unnecessary tests for processor kwargs
* Replace nested BatchEncoding output of the processor by a flattened BatchFeature
* Make modifications from Pavel review
* Add changes Amy review
* Remove unused param
* Remove normalize_before param, Modify processor call docstring
* Remove redundant decoder class, add gradient checkpointing for decoder
* Remove commented out code
* Fix inference in fp16 and add fp16 integrated test
* update omdet md doc
* Add OmdetTurboModel
* fix caching and nit
* add OmDetTurboModel to tests
* nit change repeated key test
* Improve inference speed in eager mode
* fix copies
* Fix nit
* remove OmdetTurboModel
* [run-slow] omdet_turbo
* [run-slow] omdet_turbo
* skip dataparallel test
* [run-slow] omdet_turbo
* update weights to new path
* remove unnecessary config in class
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-91-248.ec2.internal>
2024-09-25 13:26:28 -04:00
..
2022-11-08 19:54:41 +00:00
2021-02-15 07:55:10 -05:00
2024-05-22 06:40:15 +02:00
2024-09-10 09:14:54 +02:00
2024-09-24 18:22:00 +01:00
2024-09-21 01:43:50 +02:00
2024-06-25 13:55:11 +02:00
2024-05-22 06:40:15 +02:00
2024-08-19 09:28:13 +01:00
2024-05-22 06:40:15 +02:00
2024-05-22 06:40:15 +02:00
2024-09-10 09:14:54 +02:00
2023-03-13 19:11:19 +01:00
2024-09-24 15:54:07 +02:00
2024-09-03 17:40:27 +01:00
2023-06-06 18:17:41 +02:00
2024-08-28 10:26:00 +02:00
2024-09-25 13:26:28 -04:00
2021-02-15 07:55:10 -05:00
2024-09-24 15:54:07 +02:00
2024-08-27 11:58:27 +01:00
2024-09-10 11:10:53 +02:00
2024-06-03 09:42:53 +01:00
2024-05-22 06:40:15 +02:00
2024-04-15 15:08:09 +02:00
2024-01-31 15:58:17 +01:00
2023-02-28 17:12:44 +01:00
2023-02-03 12:57:02 -05:00
2024-05-07 16:58:50 +02:00
2024-08-27 11:58:27 +01:00
2024-04-12 10:01:28 +02:00
2024-05-22 06:40:15 +02:00
2024-09-24 15:54:07 +02:00
2024-06-07 17:50:18 +01:00
2024-04-15 13:20:36 +02:00
2024-06-20 18:57:24 +02:00
2024-07-29 09:42:54 +02:00
2023-03-30 21:06:35 +02:00
2024-05-31 08:49:33 +02:00
2024-05-03 18:19:30 +02:00
2022-06-02 10:24:16 +02:00
2024-09-03 16:53:21 +02:00
2024-05-22 06:40:15 +02:00
2024-06-10 15:16:58 +02:00
2024-05-09 22:57:52 +02:00
2024-05-22 06:40:15 +02:00
2024-04-15 13:20:36 +02:00
2024-04-24 22:32:42 +02:00
2024-09-20 20:58:51 +02:00
2024-05-22 06:40:15 +02:00
2024-07-22 14:14:47 +01:00