Instructions to use Mavlon001/stylee-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Mavlon001/stylee-diffusion with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Upload stylee_config.json with huggingface_hub
Browse files- stylee_config.json +34 -0
stylee_config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model": "runwayml/stable-diffusion-v1-5",
|
| 3 |
+
"output_dir": "/kaggle/working/stylee_diffusion",
|
| 4 |
+
"lora_r": 16,
|
| 5 |
+
"lora_alpha": 32,
|
| 6 |
+
"lora_dropout": 0.05,
|
| 7 |
+
"lora_target_modules": [
|
| 8 |
+
"to_q",
|
| 9 |
+
"to_v",
|
| 10 |
+
"to_k",
|
| 11 |
+
"to_out.0"
|
| 12 |
+
],
|
| 13 |
+
"epochs": 5,
|
| 14 |
+
"batch_size": 1,
|
| 15 |
+
"gradient_accumulation": 4,
|
| 16 |
+
"learning_rate": 0.0001,
|
| 17 |
+
"lr_scheduler": "cosine",
|
| 18 |
+
"warmup_steps": 100,
|
| 19 |
+
"max_grad_norm": 1.0,
|
| 20 |
+
"mixed_precision": "fp16",
|
| 21 |
+
"save_steps": 100,
|
| 22 |
+
"logging_steps": 20,
|
| 23 |
+
"seed": 42,
|
| 24 |
+
"image_size": 512,
|
| 25 |
+
"center_crop": true,
|
| 26 |
+
"num_inference_steps": 50,
|
| 27 |
+
"guidance_scale": 7.5,
|
| 28 |
+
"negative_prompt": "blurry, low quality, bad anatomy, deformed, ugly, unrealistic, western fashion, non-African context, extra limbs, bad proportions",
|
| 29 |
+
"data_dir": "/kaggle/working/african_fashion_images",
|
| 30 |
+
"hf_repo_id": "Mavlon001/stylee-diffusion",
|
| 31 |
+
"push_to_hub": true,
|
| 32 |
+
"save_to_drive": false,
|
| 33 |
+
"drive_path": "/content/drive/MyDrive/stylee_ai/stylee_diffusion"
|
| 34 |
+
}
|