aigc-apps / sd-webui-EasyPhoto

📷 EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.98k stars 399 forks source link

fix bug of switch and oom #331

Closed zouxinyi0625 closed 11 months ago

zouxinyi0625 commented 11 months ago
  1. fix switch bug in tryon.
  2. fix oom problem by deleting sam model before training. Now, tryon is able to use ~8G.
wuziheng commented 11 months ago
  1. GOOD:after delete sam, use only 5.6g GPU memory
  2. GOOD: trans from tryon result 2 easyphoto 、t2i, i2i is great and seems fixed
  3. BAD : When I test, only first transistion is success, it will always be the first image.
zouxinyi0625 commented 11 months ago
  1. GOOD:after delete sam, use only 5.6g GPU memory
  2. GOOD: trans from tryon result 2 easyphoto 、t2i, i2i is great and seems fixed
  3. BAD : When I test, only first transistion is success, it will always be the first image.
  1. It is because the select function is put before the forward function. bug fixed.