Instructions to use ChuuniZ/models_collection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ChuuniZ/models_collection with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ChuuniZ/models_collection", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download segformer_b2_clothes/preprocessor_config.json from ChuuniZ/models_collection: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/ChuuniZ/models_collection/resolve/main/segformer_b2_clothes/preprocessor_config.json
- Command line
-
hf download hf://ChuuniZ/models_collection/segformer_b2_clothes/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/ChuuniZ/models_collection/resolve/main/segformer_b2_clothes/preprocessor_config.json
271 Bytes
| { | |
| "do_normalize": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "SegformerFeatureExtractor", | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "reduce_labels": false, | |
| "resample": 2, | |
| "size": 512 | |
| } |