OOTDiffusion icon indicating copy to clipboard operation
OOTDiffusion copied to clipboard

Discrepancy between Local Gradio and Online Demo Results

Open karthikg-09 opened this issue 1 year ago • 6 comments

I've noticed a significant difference in results between my locally installed Gradio demo and the online demo at https://ootd.ibot.cn/. Despite changing the seed and cfg multiple times locally, the results remain poor, whereas the online demo consistently produces proper results on the first try. I've attached images below for comparison, using the same seed - 42 and cfg - 2 in both cases. Can you help identify the reason for this discrepancy?

local gradio

image

online demo

image

karthikg-09 avatar Mar 10 '24 13:03 karthikg-09

does this happen with all custom images?

sudip550 avatar Mar 11 '24 14:03 sudip550

+1 I also noticed this, is there any answer to this problem, everyone?

pvbang avatar Apr 04 '24 02:04 pvbang

I also have the same problem

ethankongee avatar Apr 10 '24 05:04 ethankongee

Hi all, please check if your downloaded checkpoints (including several different config.json) are correct. Our online demo uses the completely same checkpoints. See the files at https://huggingface.co/spaces/levihsu/OOTDiffusion

levihsu avatar Apr 10 '24 05:04 levihsu

Nice. I tried cloning the HuggingFace repo and it works now. The repo on Github is out of sync with the repo on HF. I haven't gone through the commits to see which ones are causing the issue.

One more thing, the author has moved the ...to("cuda") logic into the gradio_ootd.py file in this commit. Make sure you do the same if you are running it w/o gradio.

ethankongee avatar Apr 11 '24 05:04 ethankongee

我在github和huggingface上获取的代码都有这个问题,尤其在 lower-body 上,请问有人解决了吗? 本地部署: image 在线: image

1129571 avatar May 15 '24 07:05 1129571