upload checkpoints
Browse files- README.md +3 -4
- config.json +7 -0
README.md
CHANGED
|
@@ -63,8 +63,8 @@ python inference.py \
|
|
| 63 |
--image test_images/test_1.jpg \
|
| 64 |
--output outputs/result.png \
|
| 65 |
--seed 123 \
|
| 66 |
-
--steps
|
| 67 |
-
--guidance-scale
|
| 68 |
--basesize 1024
|
| 69 |
```
|
| 70 |
|
|
@@ -79,13 +79,12 @@ python inference.py \
|
|
| 79 |
| `--image` | str | None | Input image path (required for editing, omit for T2I) |
|
| 80 |
| `--output` | str | `example.png` | Output image path |
|
| 81 |
| `--steps` | int | 50 | Denoising steps |
|
| 82 |
-
| `--guidance-scale` | float |
|
| 83 |
| `--seed` | int | 42 | Random seed for reproducibility |
|
| 84 |
| `--neg-prompt` | str | `""` | Negative prompt |
|
| 85 |
| `--basesize` | int | 1024 | Bucket base size for input image resizing (256/512/768/1024) |
|
| 86 |
| `--config` | str | auto | Config path; defaults to `<ckpt-root>/infer_config.py` |
|
| 87 |
| `--rewrite-prompt` | flag | off | Enable LLM-based prompt rewriting |
|
| 88 |
-
| `--rewrite-model` | str | `gpt-5` | Model name for prompt rewriting |
|
| 89 |
| `--hsdp-shard-dim` | int | 1 | FSDP shard dimension for multi-GPU (set to GPU count) |
|
| 90 |
|
| 91 |
|
|
|
|
| 63 |
--image test_images/test_1.jpg \
|
| 64 |
--output outputs/result.png \
|
| 65 |
--seed 123 \
|
| 66 |
+
--steps 50 \
|
| 67 |
+
--guidance-scale 4.0 \
|
| 68 |
--basesize 1024
|
| 69 |
```
|
| 70 |
|
|
|
|
| 79 |
| `--image` | str | None | Input image path (required for editing, omit for T2I) |
|
| 80 |
| `--output` | str | `example.png` | Output image path |
|
| 81 |
| `--steps` | int | 50 | Denoising steps |
|
| 82 |
+
| `--guidance-scale` | float | 4.0 | Classifier-free guidance scale |
|
| 83 |
| `--seed` | int | 42 | Random seed for reproducibility |
|
| 84 |
| `--neg-prompt` | str | `""` | Negative prompt |
|
| 85 |
| `--basesize` | int | 1024 | Bucket base size for input image resizing (256/512/768/1024) |
|
| 86 |
| `--config` | str | auto | Config path; defaults to `<ckpt-root>/infer_config.py` |
|
| 87 |
| `--rewrite-prompt` | flag | off | Enable LLM-based prompt rewriting |
|
|
|
|
| 88 |
| `--hsdp-shard-dim` | int | 1 | FSDP shard dimension for multi-GPU (set to GPU count) |
|
| 89 |
|
| 90 |
|
config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"root": "JoyAI-Image-Edit",
|
| 3 |
+
"transformer_ckpt": "JoyAI-Image-Edit/transformer/transformer.pth",
|
| 4 |
+
"vae_ckpt": "JoyAI-Image-Edit/vae/Wan2.1_VAE.pth",
|
| 5 |
+
"text_encoder_ckpt": "JoyAI-Image-Edit/JoyAI-Image-Und"
|
| 6 |
+
}
|
| 7 |
+
|