pytorch-image-models/hfdocs
Mike Walmsley 496ba54485
Update hf_hub.mdx with new import, rename labels
Change suggested import from timm.models.hub.push_to_hf_hub to timm.models.push_to_hf_hub

timm.models.hub.push_to_hf_hub import fails because of refactor. timm now uses _hub.py

https://github.com/huggingface/pytorch-image-models/blob/main/timm/models/_hub.py#L270

which is imported into timm.models.__init__

6ccb7d6a7c/timm/models/__init__.py (L87)

Also update model_cfg=dict(labels...) to model_cfg=dict(label_names...) as per deprecation warning, while we're here.

Thank you for all your work creating this, it's a brilliant library!
2024-03-19 13:39:21 -04:00
..
source Update hf_hub.mdx with new import, rename labels 2024-03-19 13:39:21 -04:00
README.md Structure Hugging Face Docs (#1575) 2023-01-03 14:13:53 -08:00

README.md

Hugging Face Timm Docs

Getting Started

pip install git+https://github.com/huggingface/doc-builder.git@main#egg=hf-doc-builder
pip install watchdog black

Preview the Docs Locally

doc-builder preview timm hfdocs/source