alvinliu0/HumanGaussian

HuggingFace用不了怎么办?

soullessrobot opened this issue · 1 comments

requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /stabilityai/stable-diffusion-2-base/resolve/main/tokenizer/config.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80afce3400>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"), '(Request ID: 33cda6e5-6601-4ed8-abcc-296d8b9a2b32)')

huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

有什么方法可以解决一下吗?

Hi, many thanks for your interest in our work:)

I would suggest you first download all the pretrained models to a local folder. You can refer to the instructions here and here. Then, you could set the pretrained_model_name_or_path of the guidance model to the local path.

Best