๐Ÿšฉ Report : Not working

#10
by ayca - opened

output images are corrupt. can't see the results :(

Hi, @ayca
It seems to be working well for me. Could you add some more information? Which tabs did you use? What was your input? How is the output image corrupted? Attaching a screenshot of the results would help.

I use canny and a 512x512 image, i tried multiple times but no luck.
Screenshot from 2023-03-06 15-45-56.png
Screenshot from 2023-03-06 15-46-09.png

@ayca
Thanks! I've asked about this issue to HF members, and it may be a problem on the infra side though they are not 100% sure. I haven't encountered this error when running this demo on my GCP environment, and if it's an infra issue, there doesn't seem to be anything I can do and we have to wait they fix it.
Meanwhile, I guess you can try it on Colab etc. Also, if you are willing to pay for a GPU upgrade on HF Spaces, you can try duplicating this Space and assigning a T4 or A10G.
To run this on Colab, I think the following would work.

!git clone --recursive https://huggingface.co/spaces/hysts/ControlNet
%cd ControlNet
!pip install -q -r requirements.txt
!cd ControlNet && git apply ../patch
!sed -i '150d' app.py
!sed -i "149a demo.queue(api_open=False).launch(share=True, file_directories=['/tmp'])" app.py
!python app.py

It seems the error occurs when the number of replicas on HF Spaces is larger than 1, and I think it's an infra issue, so I'll close this issue.
FYI, the number of replica of this Space is now set to 1, so I think the error won't occur.

hysts changed discussion status to closed

Sign up or log in to comment