transformers/docs/source
NielsRogge 979b039c89
Add DPT (#15991)
* First draft

* More improvements

* Add fusion blocks

* Make conversion script work for dpt_large

* Make conversion script work

* Improve implementation

* Improve conversion script

* Add DPTForSemanticSegmentation

* Make conversion work for semantic segmentation

* Add tests

* Remove print statements

* First draft

* Redesign neck

* Improve tests

* Improve implementation some more

* Make neck output list of tensors

* Improve neck and feature extractor

* Fix integration tests

* Make more tests pass

* Make all tests pass

* Add missing config archive map

* Add in_index attribute to make heads accept list of tensors

* Apply suggestions from code review

* Apply suggestions from code review

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

* Apply some more suggestions

* Add copied from statements

* Remove assert

* Apply suggestions from code review

* Apply suggestions from code review

* Remove DPTInterpolate in favor of nn.Upsample

* Add comments

* Apply suggestions from code review

* Apply suggestions from code review

* Add proposed design

* Update design

* Add DPTReassembleLayer

* Add DPTFeatureFusionStage

* Apply more suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Fix rebase

* Update in_index and out_indices

* Fix conversion script

* Fix code quality

* Add model to toctree and use DepthEstimatorOutput

* Fix rebase

* Fix code examples

* Improve code

* Fix copied from statements

* Apply suggestions from code review

* Remove compute_loss method

* Apply suggestions from code review

* Fix documentation tests file

* Remove test.py file

* Improve doc example

Co-authored-by: Niels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Niels Rogge <nielsrogge@nielss-mbp.home>
2022-03-28 16:28:10 +02:00
..
internal Big file_utils cleanup (#16396) 2022-03-25 07:25:20 -04:00
main_classes Big file_utils cleanup (#16396) 2022-03-25 07:25:20 -04:00
model_doc Add DPT (#15991) 2022-03-28 16:28:10 +02:00
tasks Rename master to main for notebooks links and leftovers (#16397) 2022-03-25 09:12:23 -04:00
_config.py Use doc builder styler (#16412) 2022-03-28 07:45:18 -04:00
_toctree.yml Add DPT (#15991) 2022-03-28 16:28:10 +02:00
accelerate.mdx Fix code format for Accelerate doc (#15335) 2022-01-27 13:49:04 -06:00
add_new_model.mdx Big file_utils cleanup (#16396) 2022-03-25 07:25:20 -04:00
add_new_pipeline.mdx Doc styler examples (#14953) 2021-12-27 19:07:46 -05:00
autoclass_tutorial.mdx Framework split (#16030) 2022-03-15 10:13:34 -04:00
benchmarks.mdx Rename master to main for notebooks links and leftovers (#16397) 2022-03-25 09:12:23 -04:00
bertology.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
community.mdx add t5 ner finetuning (#15432) 2022-01-31 17:03:06 +01:00
contributing.md Update installation page and add contributing to the doc (#5084) 2020-06-17 14:01:10 -04:00
converting_tensorflow_models.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
create_a_model.mdx Create concept guide section (#16369) 2022-03-25 14:51:43 -05:00
custom_models.mdx [doc] custom_models: mention security features of the Hub (#15768) 2022-02-23 11:40:06 -05:00
debugging.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
fast_tokenizers.mdx Create concept guide section (#16369) 2022-03-25 14:51:43 -05:00
glossary.mdx Doc styler examples (#14953) 2021-12-27 19:07:46 -05:00
index.mdx Add DPT (#15991) 2022-03-28 16:28:10 +02:00
installation.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
migration.mdx Doc styler examples (#14953) 2021-12-27 19:07:46 -05:00
model_sharing.mdx Adopt framework-specific blocks for content (#16342) 2022-03-22 16:14:58 -05:00
model_summary.mdx Add "open in hf spaces" gradio button issue #73 (#15106) 2022-01-14 10:12:30 -05:00
multilingual.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
notebooks.md Update notebooks (#3620) 2020-04-06 14:32:39 -04:00
pad_truncation.mdx Create concept guide section (#16369) 2022-03-25 14:51:43 -05:00
parallelism.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
performance.mdx Big file_utils cleanup (#16396) 2022-03-25 07:25:20 -04:00
perplexity.mdx Doc styler examples (#14953) 2021-12-27 19:07:46 -05:00
philosophy.mdx Convert rst files (#14888) 2021-12-22 16:14:35 -05:00
pipeline_tutorial.mdx Update tutorial docs (#15165) 2022-02-01 18:31:35 -06:00
pr_checks.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
preprocessing.mdx Create concept guide section (#16369) 2022-03-25 14:51:43 -05:00
quicktour.mdx Add Slack notification support for doc tests (#16253) 2022-03-21 11:33:18 +01:00
run_scripts.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
sagemaker.mdx Convert rst files (#14888) 2021-12-22 16:14:35 -05:00
serialization.mdx Create concept guide section (#16369) 2022-03-25 14:51:43 -05:00
task_summary.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
testing.mdx Rename master to main for notebooks links and leftovers (#16397) 2022-03-25 09:12:23 -04:00
tokenizer_summary.mdx Fix grammar in tokenizer_summary (#15614) 2022-02-11 16:51:30 -05:00
training.mdx Updates the default branch from master to main (#16326) 2022-03-23 03:46:59 -04:00
troubleshooting.mdx Update troubleshoot with more content (#16243) 2022-03-21 11:37:18 -05:00