File size: 2,393 Bytes
27d6b66
 
 
 
 
 
 
 
 
e25a86e
27d6b66
 
 
 
 
 
 
 
e25a86e
27d6b66
 
 
 
 
e25a86e
 
 
27d6b66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e25a86e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27d6b66
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
  "pretrained_model_name_or_path": "runwayml/stable-diffusion-v1-5",
  "pretrained_vae_name_or_path": "stabilityai/sd-vae-ft-mse",
  "revision": "fp16",
  "tokenizer_name": null,
  "instance_data_dir": null,
  "class_data_dir": null,
  "instance_prompt": null,
  "class_prompt": null,
  "save_sample_prompt": "<fuenPhoto> animal in the jungle",
  "save_sample_negative_prompt": null,
  "n_save_sample": 4,
  "save_guidance_scale": 7.5,
  "save_infer_steps": 50,
  "pad_tokens": false,
  "with_prior_preservation": true,
  "prior_loss_weight": 1.0,
  "num_class_images": 50,
  "output_dir": "/content/drive/MyDrive/stable_diffusion_weights/photorealistic-v2",
  "seed": 1337,
  "resolution": 512,
  "center_crop": false,
  "train_text_encoder": true,
  "train_batch_size": 1,
  "sample_batch_size": 6,
  "num_train_epochs": 20,
  "max_train_steps": 4000,
  "gradient_accumulation_steps": 1,
  "gradient_checkpointing": false,
  "learning_rate": 1e-06,
  "scale_lr": false,
  "lr_scheduler": "constant",
  "lr_warmup_steps": 0,
  "use_8bit_adam": true,
  "adam_beta1": 0.9,
  "adam_beta2": 0.999,
  "adam_weight_decay": 0.01,
  "adam_epsilon": 1e-08,
  "max_grad_norm": 1.0,
  "push_to_hub": false,
  "hub_token": null,
  "hub_model_id": null,
  "logging_dir": "logs",
  "log_interval": 10,
  "save_interval": 500,
  "save_min_steps": 0,
  "mixed_precision": "fp16",
  "not_cache_latents": false,
  "hflip": false,
  "local_rank": -1,
  "concepts_list": [
    {
      "instance_prompt": "<fuenPhoto> person",
      "class_prompt": "photograph of a person",
      "instance_data_dir": "/content/data/photo_person_inst",
      "class_data_dir": "/content/data/photo_person"
    },
    {
      "instance_prompt": "<fuenPhoto> animal",
      "class_prompt": "photograph of an animal",
      "instance_data_dir": "/content/data/photo_animal_inst",
      "class_data_dir": "/content/data/photo_animal"
    },
    {
      "instance_prompt": "<fuenPhoto> red flower",
      "class_prompt": "photograph of a red flower",
      "instance_data_dir": "/content/data/photo_red_flower_inst",
      "class_data_dir": "/content/data/photo_red_flower"
    },
    {
      "instance_prompt": "<fuenPhoto> white flower",
      "class_prompt": "photograph of a white flower",
      "instance_data_dir": "/content/data/photo_white_flower_inst",
      "class_data_dir": "/content/data/photo_white_flower"
    }
  ]
}