Open a1122446488 opened 7 months ago
Hi,
Could you provide the exact error message that you encountered?
-Gaurav
Hello, I'm here https://huggingface.co/stabilityai/sd-turbo/tree/main Download relevant files directly from the website, but encounter these issues during runtime Traceback (most recent call last):
Traceback (most recent call last):
File "E:\Codes\sc\img2img-turbo-main\img2img-turbo-main\gradio_canny2image.py", line 8, in
It looks like you have some issues with downloading the SD-Turbo model. Could you try deleting the cached sd-turbo model and run these commands to see if it gets downloaded correctly:
from diffusers import AutoencoderKL, UNet2DConditionModel
tokenizer = AutoTokenizer.from_pretrained("stabilityai/sd-turbo", subfolder="tokenizer")
Is the download of the SD Tyrbo model from https://huggingface.co/stabilityai/sd-turbo/tree/main Just install all of them directly and create them in the stablityai file?
You should not need to download the model manually from the website. The model should get downloaded automatically when you run the command above.
But when I run Python graphic_cannoy2image.py without downloading it, Traceback (most recent call last) will appear:
File "E:\Codes\sc\img2img-turbo-main\img2img-turbo-main\gradio_canny2image.py", line 8, in
Ah, that is unexpected, maybe you have some network connection issues?
So I can just go straight to the https://huggingface.co/stabilityai/sd-turbo/tree/main Is it running after manual installation on?
I have not tried using huggingface in offline mode. Maybe this thread might be helpful? https://github.com/huggingface/transformers/issues/11231
Okay, I'll give it a try. Thank you very much
Hello, @a1122446488 , I was wondering if you had managed to resolve the issue mentioned above. If indeed you have, I would greatly appreciate it if you could kindly share the steps you took to arrive at a solution.
Thank you very much for your assistance.
Hello, @a1122446488 , I was wondering if you had managed to resolve the issue mentioned above. If indeed you have, I would greatly appreciate it if you could kindly share the steps you took to arrive at a solution.
Thank you very much for your assistance.
This problem can be solved by downloading all the files in the SD Turbo directory and organizing them according to the directory format on the webpage.
When I run Python gradio_canny2image.py, keyerror: no clip_txt_model appears. How should I download this