Image-to-Image
Diffusers
Safetensors
KandinskyImageSRPipeline
super-resolution
image-super-resolution
kandinsky
Instructions to use kandinskylab/Kandinsky-ImageSR-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kandinskylab/Kandinsky-ImageSR-2.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kandinskylab/Kandinsky-ImageSR-2.0", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Remove internal checkpoint names from SOURCE.json
Browse files- SOURCE.json +0 -4
SOURCE.json
CHANGED
|
@@ -1,8 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"checkpoint": "consolidated_model.pt",
|
| 3 |
-
"config": "ms3_shift.yaml",
|
| 4 |
-
"weights": "regular",
|
| 5 |
-
"checkpoint_name": "MS3 step_5000",
|
| 6 |
"vae_source": "black-forest-labs/FLUX.1-schnell",
|
| 7 |
"zero_text_baked": true,
|
| 8 |
"baked_timesteps": [
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"vae_source": "black-forest-labs/FLUX.1-schnell",
|
| 3 |
"zero_text_baked": true,
|
| 4 |
"baked_timesteps": [
|