EntropyDrop commited on
Commit
bc88e82
·
1 Parent(s): 6c355a6
Files changed (24) hide show
  1. DDJ_real2render/create_template.py +2 -2
  2. DDJ_real2render/template/template65.png +3 -0
  3. DDJ_real2render/template/template66.png +3 -0
  4. DDJ_real2render/template/template67.png +3 -0
  5. DDJ_real2render/test_batch.sh +8 -7
  6. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img10.png +3 -0
  7. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img12.png +3 -0
  8. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img23.png +3 -0
  9. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img25.png +3 -0
  10. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img26_failed.png +3 -0
  11. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img27.png +3 -0
  12. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img28.png +3 -0
  13. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img29.png +3 -0
  14. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img3.png +3 -0
  15. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img30.png +3 -0
  16. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img31.png +3 -0
  17. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img32.png +3 -0
  18. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img33.png +3 -0
  19. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img42.png +3 -0
  20. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img43.png +3 -0
  21. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img44.png +3 -0
  22. DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img45.png +3 -0
  23. DDJ_real2render/test_output/unofficial_prompt1_1k_t41_50_51_52/{img29.png → img29_failed.png} +0 -0
  24. DDJ_real2render/test_output/unofficial_prompt1_1k_t41_50_51_52/{img34.png → img34_failed.png} +0 -0
DDJ_real2render/create_template.py CHANGED
@@ -6,9 +6,9 @@ from PIL import Image
6
  import numpy as np
7
 
8
  #VIEW_NAMES = ("front_left", "back_right", "front_left_overlay", "back_right_overlay")
9
- #VIEW_NAMES = ("front_left", "back_left")
10
  #VIEW_NAMES = ("front_left_static", "back_left_static")
11
- VIEW_NAMES = ("front_left_static", "back_left_static", "left_side_static", "right_side_static")
12
 
13
  def resolve_renderer_path(renderer_path):
14
  if not renderer_path or not os.path.exists(renderer_path):
 
6
  import numpy as np
7
 
8
  #VIEW_NAMES = ("front_left", "back_right", "front_left_overlay", "back_right_overlay")
9
+ VIEW_NAMES = ("front_left", "back_left")
10
  #VIEW_NAMES = ("front_left_static", "back_left_static")
11
+ #VIEW_NAMES = ("front_left_static", "back_left_static", "left_side_static", "right_side_static")
12
 
13
  def resolve_renderer_path(renderer_path):
14
  if not renderer_path or not os.path.exists(renderer_path):
DDJ_real2render/template/template65.png ADDED

Git LFS Details

  • SHA256: 12ed8a648a18de0daf59bd8597e18f1f2e01830e2597ef9487046a533f8f7b7a
  • Pointer size: 130 Bytes
  • Size of remote file: 50.9 kB
DDJ_real2render/template/template66.png ADDED

Git LFS Details

  • SHA256: c0c9973a7eb26fcebfdaa16b6e46bae3a8a1714b08d0fdbe544a1678e40925b9
  • Pointer size: 130 Bytes
  • Size of remote file: 31.1 kB
DDJ_real2render/template/template67.png ADDED

Git LFS Details

  • SHA256: 78e37c9e10e850159fc082ea938edaeede9612b1f533dca3485054aa41c7e4f8
  • Pointer size: 130 Bytes
  • Size of remote file: 25.8 kB
DDJ_real2render/test_batch.sh CHANGED
@@ -1,9 +1,10 @@
1
- template_a=${template_a:-41}
2
- template_b=${template_b:-50}
3
- template_c=${template_c:-51}
4
- template_d=${template_d:-52}
 
5
 
6
- IS_OFFICIAL=1
7
  PROMPT_IDX=1
8
  if [ $IS_OFFICIAL -eq 1 ]; then
9
  OUTPUT_PREFIX="test_output/official"
@@ -13,7 +14,7 @@ else
13
  ENTRY="real2render.py"
14
  fi
15
  SIZE="1K"
16
- OUTPUT_DIR="${OUTPUT_PREFIX}_prompt${PROMPT_IDX}_${SIZE}_t${template_a}_${template_b}_${template_c}_${template_d}"
17
 
18
  mkdir -p $OUTPUT_DIR
19
  for i in 3 10 12 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45; do
@@ -33,5 +34,5 @@ for i in 3 10 12 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
33
  echo "Warning: ${OUTPUT_FILE} exists. Ignored."
34
  continue
35
  fi
36
- python ${ENTRY} "$img_file" -s $SIZE --prompt "prompts/prompt${PROMPT_IDX}.txt" -t template/template${template_a}.png -t template/template${template_b}.png -t template/template${template_c}.png -t template/template${template_d}.png -o ${OUTPUT_FILE}
37
  done
 
1
+ template_a=${template_a:-41} # 男,耳麦,卫衣
2
+ template_b=${template_b:-51} # 女
3
+ template_c=${template_c:-65} # 男 中长发型
4
+ template_d=${template_d:-66} # 女,发夹,猫耳
5
+ template_e=${template_e:-67} # 动物
6
 
7
+ IS_OFFICIAL=0
8
  PROMPT_IDX=1
9
  if [ $IS_OFFICIAL -eq 1 ]; then
10
  OUTPUT_PREFIX="test_output/official"
 
14
  ENTRY="real2render.py"
15
  fi
16
  SIZE="1K"
17
+ OUTPUT_DIR="${OUTPUT_PREFIX}_prompt${PROMPT_IDX}_${SIZE}_t${template_a}_${template_b}_${template_c}_${template_d}_${template_e}"
18
 
19
  mkdir -p $OUTPUT_DIR
20
  for i in 3 10 12 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45; do
 
34
  echo "Warning: ${OUTPUT_FILE} exists. Ignored."
35
  continue
36
  fi
37
+ python ${ENTRY} "$img_file" -s $SIZE --prompt "prompts/prompt${PROMPT_IDX}.txt" -t template/template${template_a}.png -t template/template${template_b}.png -t template/template${template_c}.png -t template/template${template_d}.png -t template/template${template_e}.png -o ${OUTPUT_FILE}
38
  done
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img10.png ADDED

Git LFS Details

  • SHA256: aa3611fa3bb4835de959dbf7b6e3b8eeee4496198b21e2f99670c58b234cd0ef
  • Pointer size: 131 Bytes
  • Size of remote file: 896 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img12.png ADDED

Git LFS Details

  • SHA256: b64c3d8889627d238a8ed3452d3f887057f7459b03456bcc312bb92ab3c334ed
  • Pointer size: 131 Bytes
  • Size of remote file: 891 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img23.png ADDED

Git LFS Details

  • SHA256: 64bd504a0933af05da93e5e53daff41712089a0ea41dd331fb8e6499ec030e59
  • Pointer size: 131 Bytes
  • Size of remote file: 908 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img25.png ADDED

Git LFS Details

  • SHA256: ce673cbb4c48227deb812fbc1f51a459af5f0dcaf5bca4c2ef04b9a5b9e7d964
  • Pointer size: 131 Bytes
  • Size of remote file: 913 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img26_failed.png ADDED

Git LFS Details

  • SHA256: a61e18c2d21d0535bc020bb01930c02c7430adf311d62c8ce60d97113af1e8fd
  • Pointer size: 131 Bytes
  • Size of remote file: 750 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img27.png ADDED

Git LFS Details

  • SHA256: f83f2a4debf0b9ac53a842b59c640a45935e0579dac35e891c4f81cef30cb1da
  • Pointer size: 132 Bytes
  • Size of remote file: 1.02 MB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img28.png ADDED

Git LFS Details

  • SHA256: bde38df7df61a173bf105eb66930a02b978f1b916fd65b774024da4ddc0a58a9
  • Pointer size: 131 Bytes
  • Size of remote file: 854 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img29.png ADDED

Git LFS Details

  • SHA256: 03b4ddedf3e6fda873c2fcac098d22edfb80aeb454214008ad1672f4147092f4
  • Pointer size: 131 Bytes
  • Size of remote file: 859 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img3.png ADDED

Git LFS Details

  • SHA256: a60de7060a1b535e36ad480bbae633a26bde67f6e5568b04d7c6bb8bd766d6b4
  • Pointer size: 131 Bytes
  • Size of remote file: 927 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img30.png ADDED

Git LFS Details

  • SHA256: e9cf79f274d8cb347c73b396a6b1d9102a77af090fe146c04df92104ae8a5fff
  • Pointer size: 131 Bytes
  • Size of remote file: 838 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img31.png ADDED

Git LFS Details

  • SHA256: 3426836b13f91c21b5373129a6f0ff529dcb3db600fb3f4f9ad0e1e48e1a826b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img32.png ADDED

Git LFS Details

  • SHA256: fe56fecf95e9653ea5ecff302e760ac2dfedad072aa8b452b00079e9eb641151
  • Pointer size: 131 Bytes
  • Size of remote file: 964 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img33.png ADDED

Git LFS Details

  • SHA256: 0d7db4008e642e9acd53d0c82f62ec41566aa7a71f168e0bb493241da76eebc1
  • Pointer size: 131 Bytes
  • Size of remote file: 904 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img42.png ADDED

Git LFS Details

  • SHA256: b10746d58630c0c7d55829d9c75bfca9ea3a62e6621599c204359b575d23458c
  • Pointer size: 131 Bytes
  • Size of remote file: 838 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img43.png ADDED

Git LFS Details

  • SHA256: 3d3899cd0943353a18193f96c166bc90e89a0290b6e407c96e0eefc1b57c8059
  • Pointer size: 131 Bytes
  • Size of remote file: 978 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img44.png ADDED

Git LFS Details

  • SHA256: 78db9367861d8769b62d8829945e323c11ab07b106ba673974ca98474cbd9fda
  • Pointer size: 131 Bytes
  • Size of remote file: 814 kB
DDJ_real2render/test_output/unofficial_prompt1_1K_t41_51_65_66_67/img45.png ADDED

Git LFS Details

  • SHA256: d6a86c7a408c6c061f613032f202c46d6e9fcc9b6774704eec744981050e9216
  • Pointer size: 131 Bytes
  • Size of remote file: 833 kB
DDJ_real2render/test_output/unofficial_prompt1_1k_t41_50_51_52/{img29.png → img29_failed.png} RENAMED
File without changes
DDJ_real2render/test_output/unofficial_prompt1_1k_t41_50_51_52/{img34.png → img34_failed.png} RENAMED
File without changes