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_b3_clothes/preprocessor_config.json from ChuuniZ/models_collection: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/ChuuniZ/models_collection/resolve/main/segformer_b3_clothes/preprocessor_config.json
- Command line
-
hf download hf://ChuuniZ/models_collection/segformer_b3_clothes/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/ChuuniZ/models_collection/resolve/main/segformer_b3_clothes/preprocessor_config.json
372 Bytes
| { | |
| "do_normalize": true, | |
| "do_reduce_labels": false, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "SegformerImageProcessor", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 512, | |
| "width": 512 | |
| } | |
| } | |