Files
HuggingFace_transformer/docs/source/model_doc
NielsRogge 1dc96a760d Add SegFormer (#14019)
* First draft

* Make style & quality

* Improve conversion script

* Add print statement to see actual slice

* Make absolute tolerance smaller

* Fix image classification models

* Add post_process_semantic method

* Disable padding

* Improve conversion script

* Rename to ForSemanticSegmentation, add integration test, remove post_process methods

* Improve docs

* Fix code quality

* Fix feature extractor tests

* Fix tests for image classification model

* Delete file

* Add is_torch_available to feature extractor

* Improve documentation of feature extractor methods

* Apply suggestions from @sgugger's code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Apply some more suggestions of code review

* Rebase with master

* Fix rebase issues

* Make sure model only outputs hidden states when the user wants to

* Apply suggestions from code review

* Add pad method

* Support padding of 2d images

* Add print statement

* Add print statement

* Move padding method to SegformerFeatureExtractor

* Fix issue

* Add casting of segmentation maps

* Add test for padding

* Add small note about padding

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2021-10-28 08:23:52 -04:00
..
2021-08-30 17:29:27 +02:00
2021-06-14 15:16:08 +05:30
2021-04-21 11:11:20 -04:00
2021-09-21 13:34:19 +02:00
2021-08-04 16:31:23 +02:00
2021-06-14 20:01:03 +01:00
2021-04-21 09:47:27 -04:00
2021-09-01 15:05:40 +02:00
2021-07-20 09:28:50 -04:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2021-08-31 06:32:47 -04:00
2021-08-12 05:01:26 -04:00
2021-04-21 09:47:27 -04:00
2021-06-17 10:37:54 -04:00
2021-01-27 21:25:11 +03:00
2021-09-30 18:55:20 +02:00
2021-05-04 20:56:09 +02:00
2021-09-20 13:24:30 +02:00
2021-04-21 09:47:27 -04:00
2021-07-06 18:55:18 +05:30
2021-04-21 09:47:27 -04:00
2021-10-04 12:30:50 +02:00
2021-09-02 09:46:05 +02:00
2021-05-03 09:07:29 -04:00
2021-09-02 11:32:18 +02:00
2020-12-10 09:29:38 -05:00
2021-09-20 07:53:31 -04:00
2020-12-07 18:36:34 -05:00
2021-04-21 09:47:27 -04:00
2021-04-21 11:11:20 -04:00
2021-10-28 08:23:52 -04:00
2021-10-18 17:43:35 +02:00
2021-10-18 17:43:35 +02:00
2021-10-14 15:46:22 +02:00
2021-10-14 15:46:22 +02:00
2021-08-17 08:29:01 -04:00
2021-09-01 15:05:40 +02:00
2021-09-01 15:05:40 +02:00
2021-08-13 11:44:04 +05:30
2021-08-26 17:25:20 +02:00
2021-04-21 09:47:27 -04:00
2020-12-07 18:36:34 -05:00
2021-04-21 11:11:20 -04:00