3v324v23 commited on
Commit
31c2947
·
1 Parent(s): 3af23fa

latest run

Browse files
anydoor/.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ wefa_init.ckpt filter=lfs diff=lfs merge=lfs -text
anydoor/configs/datasets.yaml CHANGED
@@ -32,7 +32,7 @@ Train:
32
  image_dir: /mnt/workspace/xizhi/data/MVImgNet/
33
 
34
  VitonHD:
35
- image_dir: /workspace/current_wefa/cloth
36
 
37
  Dresscode:
38
  image_dir: /mnt/workspace/xizhi/data/dresscode/DressCode/upper_body/label_maps/
@@ -62,7 +62,7 @@ Test:
62
  bg_dir: path/DreamBooth/v1_800
63
 
64
  VitonHDTest:
65
- image_dir: /workspace/current_wefa/cloth
66
 
67
 
68
 
 
32
  image_dir: /mnt/workspace/xizhi/data/MVImgNet/
33
 
34
  VitonHD:
35
+ image_dir: /workspace/mixed_dataset/cloth
36
 
37
  Dresscode:
38
  image_dir: /mnt/workspace/xizhi/data/dresscode/DressCode/upper_body/label_maps/
 
62
  bg_dir: path/DreamBooth/v1_800
63
 
64
  VitonHDTest:
65
+ image_dir: /workspace/mixed_dataset/cloth
66
 
67
 
68
 
anydoor/configs/inference.yaml CHANGED
@@ -1,3 +1,3 @@
1
- pretrained_model: /workspace/200k_wefa_boys/lightning_logs/version_1/checkpoints/200k_slim.ckpt
2
  config_file: configs/anydoor.yaml
3
  save_memory: False
 
1
+ pretrained_model: /workspace/300k_wefa_boys_slim/lightning_logs/version_0/checkpoints/boys.ckpt
2
  config_file: configs/anydoor.yaml
3
  save_memory: False
anydoor/run_inference_api_select.py CHANGED
@@ -32,7 +32,7 @@ def load_model(new_model_ckpt):
32
  global model, ddim_sampler, current_model_ckpt
33
  if new_model_ckpt != current_model_ckpt:
34
  print(f"Loading new model: {new_model_ckpt}")
35
- model.load_state_dict(load_state_dict(f'/workspace/200k_wefa_boys/lightning_logs/version_1/checkpoints/{new_model_ckpt}', location='cuda'))
36
  current_model_ckpt = new_model_ckpt
37
  print("New model loaded successfully.")
38
  else:
 
32
  global model, ddim_sampler, current_model_ckpt
33
  if new_model_ckpt != current_model_ckpt:
34
  print(f"Loading new model: {new_model_ckpt}")
35
+ model.load_state_dict(load_state_dict(f'/workspace/300k_wefa_boys_slim/lightning_logs/version_0/checkpoints/{new_model_ckpt}', location='cuda'))
36
  current_model_ckpt = new_model_ckpt
37
  print("New model loaded successfully.")
38
  else:
anydoor/run_train_anydoor.py CHANGED
@@ -31,11 +31,21 @@ disable_verbosity()
31
  if save_memory:
32
  enable_sliced_attention()
33
 
 
 
 
 
 
 
 
 
 
 
34
  # Configs
35
- resume_path = '/workspace/200k_wefa_boys/lightning_logs/version_1/checkpoints/200k_slim.ckpt'
36
  batch_size = 8
37
  logger_freq = 1000
38
- learning_rate = 1e-7
39
  sd_locked = False
40
  only_mid_control = False
41
  n_gpus = 2
 
31
  if save_memory:
32
  enable_sliced_attention()
33
 
34
+ # # Config slower for less images
35
+ # resume_path = '/workspace/wefa_init.ckpt'
36
+ # batch_size = 8
37
+ # logger_freq = 1000
38
+ # learning_rate = 1e-7
39
+ # sd_locked = False
40
+ # only_mid_control = False
41
+ # n_gpus = 2
42
+ # accumulate_grad_batches=1
43
+
44
  # Configs
45
+ resume_path = '/workspace/train-wefadoor-master/anydoor/lightning_logs/version_5/checkpoints/step_300k.ckpt'
46
  batch_size = 8
47
  logger_freq = 1000
48
+ learning_rate = 1e-5
49
  sd_locked = False
50
  only_mid_control = False
51
  n_gpus = 2