Instructions to use DEVAIEXP/SUPIR_F with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DEVAIEXP/SUPIR_F with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DEVAIEXP/SUPIR_F", 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
Commit ·
725ec8f
1
Parent(s): 75cd644
fix config.json
Browse files
denoise_encoder/config.json
CHANGED
|
@@ -21,8 +21,7 @@
|
|
| 21 |
"layers_per_block": 2,
|
| 22 |
"mid_block_add_attention": false,
|
| 23 |
"norm_num_groups": 32,
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
-
"tile_sample_min_size": 512,
|
| 27 |
"use_quant_conv": true
|
| 28 |
}
|
|
|
|
| 21 |
"layers_per_block": 2,
|
| 22 |
"mid_block_add_attention": false,
|
| 23 |
"norm_num_groups": 32,
|
| 24 |
+
"sample_size": 1024,
|
| 25 |
+
"scaling_factor": 0.13025,
|
|
|
|
| 26 |
"use_quant_conv": true
|
| 27 |
}
|