Instructions to use umu/DemoireEdit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
- Notebooks
- Google Colab
- Kaggle
Download inference_config.json from umu/DemoireEdit: direct link, hf CLI and curl.
- Browser
- Download file 523 Bytes
-
https://huggingface.co/umu/DemoireEdit/resolve/main/inference_config.json
- Command line
-
hf download hf://umu/DemoireEdit/inference_config.json
-
curl -L -o inference_config.json https://huggingface.co/umu/DemoireEdit/resolve/main/inference_config.json
523 Bytes
| { | |
| "schema_version": 1, | |
| "method_title": "Dual-Scale Condition-Shift Editing for Robust Real-World Image Demoir\u00e9ing", | |
| "inference": { | |
| "mode": "progressive_2stage", | |
| "stage1": { | |
| "target_short_side": 1024, | |
| "steps": 10, | |
| "reference_mode": "black" | |
| }, | |
| "stage2": { | |
| "steps": 10, | |
| "condition_ratio": 0.3, | |
| "condition_steps_rule": "ceil(ratio * steps)", | |
| "latent_initialization": "noise" | |
| }, | |
| "cfg_scale": 1.0 | |
| }, | |
| "adapter_filename": "demoireedit.safetensors" | |
| } | |