transformers/docs/source/en
NielsRogge 06fd7972ac
Add ZoeDepth (#30136)
* First draft

* Add docs

* Clean up code

* Convert model

* Add image processor

* Convert Zoe_K

* More improvements

* Improve variable names and docstrings

* Improve variable names

* Improve variable names

* Replace nn.sequential

* More improvements

* Convert ZoeD_NK

* Fix most tests

* Verify pixel values

* Verify pixel values

* Add squeeze

* Update beit to support arbitrary window sizes

* Improve image processor

* Improve docstring

* Improve beit

* Improve model outputs

* Add figure

* Fix beit

* Update checkpoint

* Fix repo id

* Add _keys_to_ignore_on_load_unexpected

* More improvements

* Address comments

* Address comments

* Address comments

* Address comments

* Rename variable name

* Add backbone_hidden_size

* Vectorize

* Vectorize more

* Address comments

* Clarify docstring

* Remove backbone_hidden_size

* Fix image processor

* Remove print statements

* Remove print statement

* Add integration test

* Address comments

* Address comments

* Address comments

* Address comments

* Add requires_backends

* Clean up

* Simplify conversion script

* Simplify more

* Simplify more

* Simplify more

* Clean up

* Make sure beit is loaded correctly

* Address comment

* Address bin_configurations

* Use bin_configurations

* Convert models, add integration tests

* Fix doc test

* Address comments

* Unify regressor classes

* Clarify arguments

* Improve resize_image

* Add num_relative_features

* Address comment

* [run-slow]beit,data2vec,zoedepth

* [run-slow]beit,data2vec,zoedepth

* Address comments

* Address comment

* Address comment

* Replace nn.TransformerEncoderLayer and nn.TransformerEncoder

* Replace nn.MultiheadAttention

* Add attributes for patch transformer to config

* Add tests for ensure_multiple_of

* Update organization

* Add tests

* [run-slow] beit data2vec

* Update ruff

* [run-slow] beit data2vec

* Add comment

* Improve docstrings, add test

* Fix interpolate_pos_encoding

* Fix slow tests

* Add docstring

* Update src/transformers/models/zoedepth/image_processing_zoedepth.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Update src/transformers/models/zoedepth/image_processing_zoedepth.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Improve tests and docstrings

* Use run_common_tests

* Improve docstrings

* Improve docstrings

* Improve tests

* Improve tests

* Remove print statements

---------

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2024-07-08 11:43:33 +02:00
..
internal [whisper] static kv cache (#31166) 2024-07-02 13:24:15 +01:00
main_classes Allow FP16 or other precision inference for Pipelines (#31342) 2024-07-05 17:21:50 +01:00
model_doc Add ZoeDepth (#30136) 2024-07-08 11:43:33 +02:00
quantization Docs / AQLM: Clarify torch.compile support for AQLM (#31473) 2024-06-19 11:26:25 +02:00
tasks Update mask_generation.md (#31543) 2024-06-23 20:27:21 +01:00
_config.py
_redirects.yml Docs / Quantization: Redirect deleted page (#31063) 2024-05-28 18:29:22 +02:00
_toctree.yml Add ZoeDepth (#30136) 2024-07-08 11:43:33 +02:00
accelerate.md
add_new_model.md
add_new_pipeline.md
agents.md Adds final answer tool for all agents (#31703) 2024-07-03 11:36:09 +02:00
attention.md
autoclass_tutorial.md
benchmarks.md
bertology.md
big_models.md
chat_templating.md Repeating an important warning in the chat template docs (#31796) 2024-07-05 15:30:24 +01:00
community.md
contributing.md
conversations.md
create_a_model.md Enable HF pretrained backbones (#31145) 2024-06-06 22:02:38 +01:00
custom_models.md
debugging.md
deepspeed.md
fast_tokenizers.md
fsdp.md
generation_strategies.md Quantized KV Cache (#30483) 2024-05-23 17:25:20 +05:00
gguf.md Add Qwen2 GGUF loading support (#31175) 2024-06-03 14:55:10 +01:00
glossary.md
hpo_train.md
index.md Add ZoeDepth (#30136) 2024-07-08 11:43:33 +02:00
installation.md Use HF_HUB_OFFLINE + fix has_file in offline mode (#31016) 2024-05-29 11:55:43 +01:00
llm_optims.md Add torch.compile for Mistral (#30642) 2024-05-20 16:27:24 +02:00
llm_tutorial.md
llm_tutorial_optimization.md
model_memory_anatomy.md
model_sharing.md
model_summary.md
multilingual.md
notebooks.md
pad_truncation.md
peft.md Docs / Quantization: Replace all occurences of load_in_8bit with bnb config (#31136) 2024-05-30 16:47:35 +02:00
perf_hardware.md
perf_infer_cpu.md
perf_infer_gpu_one.md Fix post gemma merge (#31660) 2024-06-27 17:51:42 +02:00
perf_torch_compile.md docs: fix style (#31340) 2024-06-10 09:53:25 +01:00
perf_train_cpu.md
perf_train_cpu_many.md
perf_train_gpu_many.md Update perf_train_gpu_many.md (#31451) 2024-06-18 11:00:26 -07:00
perf_train_gpu_one.md Add torch_empty_cache_steps to TrainingArguments (#31546) 2024-07-04 13:20:49 -04:00
perf_train_special.md
perf_train_tpu_tf.md
performance.md
perplexity.md
philosophy.md
pipeline_tutorial.md Allow FP16 or other precision inference for Pipelines (#31342) 2024-07-05 17:21:50 +01:00
pipeline_webserver.md
pr_checks.md
preprocessing.md
quicktour.md docs: fix broken link (#31370) 2024-06-12 11:33:00 +01:00
run_scripts.md
sagemaker.md
serialization.md
task_summary.md
tasks_explained.md
testing.md Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
tf_xla.md
tflite.md
tokenizer_summary.md [docs] Spanish translation of tokenizer_summary.md (#31154) 2024-06-03 16:52:23 -07:00
torchscript.md
trainer.md FEAT / Trainer: LOMO optimizer support (#30178) 2024-05-21 10:16:37 +02:00
training.md Added the necessay import of module (#30804) 2024-05-14 18:45:06 +01:00
troubleshooting.md