cswry / SeeSR

[CVPR2024] SeeSR: Towards Semantics-Aware Real-World Image Super-Resolution
Apache License 2.0
390 stars 25 forks source link

Can not load the unet and controlnet #3

Closed XsherryR closed 9 months ago

XsherryR commented 9 months ago

Thanks for your wonderful work! I'm encountering an error when trying to load the 'unet' or 'controlnet' models. The error mentions that it couldn't connect to 'https://huggingface.co/' to load the model, even though I believe my internet connection is working fine. Do you have any suggestions on how to fix this issue?

The error message is as follows: OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like preset/models/seesr is not the path to a directory containing a config.json file. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.

flynnamy commented 9 months ago

Hi,same problem! How to solve this? Thanks! @XsherryR

CuddleSabe commented 9 months ago

Hi,same problem! How to solve this? Thanks! @XsherryR

replace the relative path to absolute path

flynnamy commented 9 months ago

Could you explain it in details? @CuddleSabe