Jade Choghari
7176e06b52
Add TextNet (#34979)
* WIP
* Add config and modeling for Fast model
* Refactor modeling and add tests
* More changes
* WIP
* Add tests
* Add conversion script
* Add conversion scripts, integration tests, image processor
* Fix style and copies
* Add fast model to init
* Add fast model in docs and other places
* Fix import of cv2
* Rename image processing method
* Fix build
* Fix Build
* fix style and fix copies
* Fix build
* Fix build
* Fix Build
* Clean up docstrings
* Fix Build
* Fix Build
* Fix Build
* Fix build
* Add test for image_processing_fast and add documentation tests
* some refactorings
* Fix failing tests
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Introduce TextNet
* Fix failures
* Refactor textnet model
* Fix failures
* Add cv2 to setup
* Fix failures
* Fix failures
* Add CV2 dependency
* Fix bugs
* Fix build issue
* Fix failures
* Remove textnet from modeling fast
* Fix build and other things
* Fix build
* some cleanups
* some cleanups
* Some more cleanups
* Fix build
* Incorporate PR feedbacks
* More cleanup
* More cleanup
* More cleanup
* Fix build
* Remove all the references of fast model
* More cleanup
* Fix build
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Fix Build
* Fix build
* Fix build
* Fix build
* Fix build
* Fix build
* Incorporate PR feedbacks
* Fix style
* Fix build
* Incorporate PR feedbacks
* Fix image processing mean and std
* Incorporate PR feedbacks
* fix build failure
* Add assertion to image processor
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* fix style failures
* fix build
* Fix Imageclassification's linear layer, also introduce TextNetImageProcessor
* Fix build
* Fix build
* Fix build
* Fix build
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Fix build
* Incorporate PR feedbacks
* Remove some script
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Incorporate PR feedbacks
* Fix image processing in textnet
* Incorporate PR Feedbacks
* Fix CI failures
* Fix failing test
* Fix failing test
* Fix failing test
* Fix failing test
* Fix failing test
* Fix failing test
* Add textnet to readme
* Improve readability
* Incorporate PR feedbacks
* fix code style
* fix key error and convert working
* tvlt shouldn't be here
* fix test modeling test
* Fix tests, make fixup
* Make fixup
* Make fixup
* Remove TEXTNET_PRETRAINED_MODEL_ARCHIVE_LIST
* improve type annotation
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* Update tests/models/textnet/test_image_processing_textnet.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* improve type annotation
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* space typo
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* improve type annotation
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* Update src/transformers/models/textnet/configuration_textnet.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* make conv layer kernel sizes and strides default to None
* Update src/transformers/models/textnet/modeling_textnet.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* Update src/transformers/models/textnet/modeling_textnet.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* fix keyword bug
* add batch init and make fixup
* Make fixup
* Update integration test
* Add figure
* Update textnet.md
* add testing and fix errors (classification, imgprocess)
* fix error check
* make fixup
* make fixup
* revert to original docstring
* add make style
* remove conflict for now
* Update modeling_auto.py
got a confusion in `timm_wrapper` - was giving some conflicts
* Update tests/models/textnet/test_modeling_textnet.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* Update src/transformers/models/textnet/modeling_textnet.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* Update tests/models/textnet/test_modeling_textnet.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* Update src/transformers/models/textnet/modeling_textnet.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* add changes
* Update textnet.md
* add doc
* add authors hf ckpt + rename
* add feedback: classifier/docs
---------
Co-authored-by: raghavanone <opensourcemaniacfreak@gmail.com>
Co-authored-by: jadechoghari <jadechoghari@users.noreply.huggingface.co>
Co-authored-by: Niels <niels.rogge1@gmail.com>
Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com>
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
2025-01-08 09:52:51 +01:00
..
2024-11-05 16:10:42 +01:00
2024-11-05 11:34:01 +01:00
2024-11-05 11:34:01 +01:00
2024-12-20 14:36:31 +01:00
2024-12-13 14:33:45 +01:00
2024-12-15 14:00:36 -05:00
2024-06-07 19:40:26 +01:00
2024-12-18 20:18:17 +01:00
2024-06-26 21:59:08 +01:00
2024-10-30 10:59:08 +00:00
2024-06-26 21:59:08 +01:00
2024-03-13 14:53:27 +01:00
2024-12-17 14:44:47 +01:00
2024-10-30 10:59:08 +00:00
2024-03-13 14:53:27 +01:00
2024-03-13 14:53:27 +01:00
2024-03-13 14:53:27 +01:00
2024-10-07 18:11:13 +02:00
2024-10-09 16:46:11 +01:00
2024-08-16 11:20:41 +01:00
2024-06-19 10:18:08 +01:00
2024-08-23 11:12:53 +01:00
2024-10-09 16:46:11 +01:00
2024-11-05 11:34:01 +01:00
2024-11-25 10:41:55 +01:00
2024-09-19 12:04:24 +02:00
2024-10-02 16:43:43 +02:00
2024-10-09 16:46:11 +01:00
2024-06-26 21:59:08 +01:00
2024-11-04 16:37:51 +01:00
2024-06-26 21:59:08 +01:00
2024-10-31 15:48:11 -04:00
2024-09-25 19:05:01 +01:00
2024-12-13 14:33:45 +01:00
2024-12-13 14:33:45 +01:00
2024-11-05 11:34:01 +01:00
2024-12-13 14:33:45 +01:00
2024-06-26 21:59:08 +01:00
2024-09-24 16:40:48 +01:00
2024-12-13 09:35:50 +01:00
2024-12-13 09:35:50 +01:00
2024-12-17 11:26:43 +01:00
2024-12-13 14:33:45 +01:00
2024-06-26 21:59:08 +01:00
2024-08-06 11:33:05 +01:00
2024-06-26 21:59:08 +01:00
2024-10-09 16:46:11 +01:00
2024-06-26 21:59:08 +01:00
2024-10-31 16:36:13 +01:00
2024-06-19 10:18:08 +01:00
2024-12-13 14:33:45 +01:00
2024-12-17 14:44:47 +01:00
2024-07-29 10:52:13 +01:00
2024-11-25 10:43:16 +01:00
2024-11-25 10:43:16 +01:00
2024-08-23 11:12:53 +01:00
2024-11-19 11:18:58 -05:00
2024-08-06 11:33:05 +01:00
2024-11-20 11:31:21 +01:00
2024-12-15 14:00:36 -05:00
2025-01-07 11:34:56 +01:00
2024-06-26 21:59:08 +01:00
2024-09-21 01:58:00 +01:00
2024-12-24 13:21:59 +01:00
2024-11-05 13:41:48 +01:00
2023-06-29 10:17:36 +01:00
2024-10-02 16:43:43 +02:00
2024-03-25 10:33:38 +01:00
2024-11-20 11:31:21 +01:00
2024-08-27 11:58:27 +01:00
2024-10-07 18:11:13 +02:00
2025-01-07 11:50:02 +01:00
2024-12-18 16:53:39 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-12-18 16:53:39 +01:00
2024-12-20 14:36:31 +01:00
2024-06-26 21:59:08 +01:00
2024-10-09 16:46:11 +01:00
2024-11-05 11:34:01 +01:00
2024-10-09 16:46:11 +01:00
2024-06-19 10:18:08 +01:00
2024-06-26 21:59:08 +01:00
2024-05-22 06:40:15 +02:00
2024-11-21 11:00:22 +01:00
2024-10-30 10:59:08 +00:00
2024-11-27 11:50:48 +01:00
2024-10-31 15:48:11 -04:00
2024-11-05 16:10:42 +01:00
2024-10-28 19:44:20 +01:00
2024-12-18 16:53:39 +01:00
2024-12-20 14:36:31 +01:00
2024-09-24 16:40:48 +01:00
2024-12-18 16:53:39 +01:00
2024-09-09 10:59:04 +02:00
2024-07-24 17:36:32 +01:00
2024-12-20 14:36:31 +01:00
2024-12-19 17:05:25 +01:00
2024-12-19 17:05:25 +01:00
2024-12-13 14:33:45 +01:00
2024-11-05 11:34:01 +01:00
2024-06-26 21:59:08 +01:00
2024-09-05 16:17:34 +02:00
2024-12-10 14:18:23 +01:00
2024-07-25 15:12:23 +02:00
2024-12-20 14:36:31 +01:00
2024-12-20 14:36:31 +01:00
2024-12-23 16:59:01 +01:00
2024-12-06 13:42:51 +00:00
2024-10-29 10:48:57 +01:00
2024-09-25 12:21:53 +01:00
2024-11-25 10:41:55 +01:00
2024-11-05 11:34:01 +01:00
2024-10-30 10:59:08 +00:00
2024-10-30 10:59:08 +00:00
2024-11-21 11:00:22 +01:00
2024-06-26 21:59:08 +01:00
2024-11-05 15:10:15 +00:00
2024-11-05 15:10:15 +00:00
2024-11-05 15:10:15 +00:00
2024-10-09 16:46:11 +01:00
2024-08-06 11:33:05 +01:00
2024-10-09 16:46:11 +01:00
2024-12-19 17:05:25 +01:00
2024-12-20 14:36:31 +01:00
2024-12-20 14:36:31 +01:00
2024-12-20 14:36:31 +01:00
2024-12-20 14:36:31 +01:00
2024-10-09 16:46:11 +01:00
2024-10-22 08:23:53 +02:00
2024-10-09 16:46:11 +01:00
2024-07-26 10:33:02 +02:00
2024-10-09 16:46:11 +01:00
2024-12-20 14:36:31 +01:00
2024-12-20 14:36:31 +01:00
2024-08-23 11:12:53 +01:00
2024-12-13 14:33:45 +01:00
2024-12-13 14:33:45 +01:00
2024-12-13 14:33:45 +01:00
2024-10-09 16:46:11 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-09-09 13:20:27 +01:00
2024-12-02 16:21:04 +01:00
2024-12-18 16:53:39 +01:00
2024-12-18 16:53:39 +01:00
2024-11-28 15:05:56 +01:00
2024-08-05 15:19:42 +01:00
2024-10-29 16:14:31 +01:00
2024-08-06 11:33:05 +01:00
2024-08-06 11:33:05 +01:00
2024-08-23 11:12:53 +01:00
2024-06-07 19:40:26 +01:00
2024-12-19 14:03:35 +01:00
2024-11-04 16:37:51 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-10-09 11:23:50 +01:00
2024-10-30 10:59:08 +00:00
2024-12-02 16:21:04 +01:00
2024-12-20 16:03:26 +01:00
2024-10-09 16:46:11 +01:00
2024-10-07 10:56:24 +02:00
2024-11-05 16:10:42 +01:00
2024-06-26 21:59:08 +01:00
2024-10-09 16:46:11 +01:00
2024-08-06 11:33:05 +01:00
2024-05-22 06:40:15 +02:00
2024-10-25 11:55:07 +01:00
2024-11-25 16:31:22 +01:00
2024-10-25 11:55:07 +01:00
2024-10-01 23:52:03 +02:00
2024-12-13 14:33:45 +01:00
2024-10-09 16:46:11 +01:00
2024-10-25 11:55:07 +01:00
2024-12-21 08:51:09 +00:00
2024-12-21 08:51:09 +00:00
2024-12-20 14:36:31 +01:00
2024-06-26 21:59:08 +01:00
2024-06-07 19:40:26 +01:00
2024-08-23 11:12:53 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-12-18 16:53:39 +01:00
2024-12-18 16:53:39 +01:00
2024-10-10 11:50:39 +02:00
2024-10-04 22:45:37 +02:00
2024-03-13 14:53:27 +01:00
2024-12-13 14:33:45 +01:00
2024-12-23 13:12:45 -05:00
2024-10-09 16:46:11 +01:00
2024-08-06 11:33:05 +01:00
2024-12-13 14:33:45 +01:00
2024-10-09 16:46:11 +01:00
2024-08-06 11:33:05 +01:00
2024-06-26 21:59:08 +01:00
2024-12-18 16:53:39 +01:00
2025-01-07 16:47:27 +01:00
2024-12-18 16:53:39 +01:00
2024-12-20 14:36:31 +01:00
2024-12-18 10:14:22 +01:00
2024-10-30 10:59:08 +00:00
2024-10-21 10:00:14 +02:00
2024-10-07 18:11:13 +02:00
2024-11-04 16:37:51 +01:00
2024-10-07 18:11:13 +02:00
2024-10-30 08:36:45 +00:00
2024-10-07 18:11:13 +02:00
2024-10-09 16:46:11 +01:00
2024-10-09 16:46:11 +01:00
2024-12-15 14:00:36 -05:00
2024-12-20 14:36:31 +01:00
2024-12-23 13:54:57 +01:00
2024-12-13 14:33:45 +01:00
2024-12-20 16:03:26 +01:00
2024-12-13 14:33:45 +01:00
2024-12-13 14:33:45 +01:00
2024-09-17 08:05:21 +02:00
2024-09-17 08:05:21 +02:00
2024-11-05 11:34:01 +01:00
2024-12-18 16:53:39 +01:00
2024-12-13 14:33:45 +01:00
2024-12-13 14:33:45 +01:00
2024-10-09 16:46:11 +01:00
2024-07-26 10:33:02 +02:00
2024-12-18 16:53:39 +01:00
2024-10-30 10:59:08 +00:00
2024-12-13 14:33:45 +01:00
2024-06-07 19:40:26 +01:00
2024-06-19 10:18:08 +01:00
2024-08-06 11:33:05 +01:00
2024-06-26 18:46:48 +01:00
2024-10-22 08:23:53 +02:00
2024-10-30 10:59:08 +00:00
2024-06-26 21:59:08 +01:00
2024-12-20 14:36:31 +01:00
2025-01-08 09:52:51 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-12-11 12:40:30 +00:00
2024-11-29 11:58:11 +00:00
2024-08-06 11:33:05 +01:00
2024-11-05 15:10:15 +00:00
2024-10-30 10:59:08 +00:00
2024-07-23 14:54:38 +08:00
2024-07-23 14:54:38 +08:00
2024-12-13 14:33:45 +01:00
2024-06-19 10:18:08 +01:00
2024-11-18 13:21:07 +01:00
2024-11-05 16:10:42 +01:00
2024-08-06 11:33:05 +01:00
2024-12-20 14:36:31 +01:00
2024-12-18 16:53:39 +01:00
2024-12-15 14:00:36 -05:00
2024-05-22 06:40:15 +02:00
2024-10-07 18:11:13 +02:00
2024-09-30 18:47:13 +02:00
2024-06-07 19:40:26 +01:00
2024-06-26 21:59:08 +01:00
2024-08-06 11:33:05 +01:00
2024-10-03 14:01:24 +01:00
2024-10-15 11:27:54 +02:00
2024-12-13 14:33:45 +01:00
2024-10-02 10:41:08 +02:00
2024-07-23 14:54:38 +08:00
2024-09-26 19:38:20 +02:00
2024-06-17 17:29:13 +01:00
2024-07-23 14:54:38 +08:00
2024-12-18 14:13:21 +01:00
2024-11-05 11:34:01 +01:00
2024-10-31 16:36:13 +01:00
2024-10-09 16:46:11 +01:00
2024-08-28 10:26:00 +02:00
2024-10-25 11:55:07 +01:00
2024-10-09 16:46:11 +01:00
2024-10-09 16:46:11 +01:00
2024-12-13 14:33:45 +01:00
2024-06-26 21:59:08 +01:00
2025-01-07 10:08:45 +01:00
2024-10-22 15:50:54 +02:00
2022-05-03 14:42:02 +02:00