IDEA-Research / HumanSD

[ICCV 2023] The official implementation of paper "HumanSD: A Native Skeleton-Guided Diffusion Model for Human Image Generation"
Apache License 2.0
271 stars 18 forks source link

huggingface connect error #22

Closed Kai-0515 closed 10 months ago

Kai-0515 commented 10 months ago

hi thx for your excellent work! when the code automatically downloads the 'open_clip_pytorch_model.bin' model, the hugging face can not connect like this.

截屏2023-10-18 下午4 48 26

And I also try to upload the .bin file to the code, but where I should upload to. Directly up down the '~./cache/models--laion--CLIP-ViT-H-14-laion2B-s32B-b79K' also can not work. Looking forward to your reply!

juxuan27 commented 10 months ago

Hi, @Kai-0515 , maybe you can try adding your personal huggingface token to the downloading code or changing your cluster network.

Kai-0515 commented 10 months ago

hi where can I add my personal token?

juxuan27 commented 10 months ago

I think you need to find which line of code through out this error and add your personal token as: pipe = pipeline("xxx", model="xxx", token="your token"). More details can be found here.