Instructions to use MonsterMMORPG/SECourses_SUPIR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use MonsterMMORPG/SECourses_SUPIR with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:MonsterMMORPG/SECourses_SUPIR') tokenizer = open_clip.get_tokenizer('hf-hub:MonsterMMORPG/SECourses_SUPIR') - Notebooks
- Google Colab
- Kaggle
Download clip-vit-large-patch14/preprocessor_config.json from MonsterMMORPG/SECourses_SUPIR: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/MonsterMMORPG/SECourses_SUPIR/resolve/main/clip-vit-large-patch14/preprocessor_config.json
- Command line
-
hf download hf://MonsterMMORPG/SECourses_SUPIR/clip-vit-large-patch14/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/MonsterMMORPG/SECourses_SUPIR/resolve/main/clip-vit-large-patch14/preprocessor_config.json
316 Bytes
| { | |
| "crop_size": 224, | |
| "do_center_crop": true, | |
| "do_normalize": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "CLIPFeatureExtractor", | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "resample": 3, | |
| "size": 224 | |
| } | |