Instructions to use asrimanth/edsr-base-x2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use asrimanth/edsr-base-x2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import EDSRForImageSuperResolution model = EDSRForImageSuperResolution.from_pretrained("asrimanth/edsr-base-x2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from asrimanth/edsr-base-x2: direct link, hf CLI and curl.
- Browser
- Download file 149 Bytes
-
https://huggingface.co/asrimanth/edsr-base-x2/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://asrimanth/edsr-base-x2/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/asrimanth/edsr-base-x2/resolve/main/preprocessor_config.json
149 Bytes
| { | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "image_processor_type": "EDSRImageProcessor", | |
| "pad_size": 4, | |
| "rescale_factor": 0.00392156862745098 | |
| } | |