AiuniAI / Unique3D

Official implementation of Unique3D: High-Quality and Efficient 3D Mesh Generation from a Single Image
https://wukailu.github.io/Unique3D/
MIT License
3.04k stars 236 forks source link

Error connecting to the stable diffusion respository #95

Open justin1230 opened 2 months ago

justin1230 commented 2 months ago

Couldn't connect to the Hub: 401 Client Error. (Request ID: Root=1-66d19326-2f1f18937689e5ee3b0c5308;509ffcf1-2502-4014-ac86-8996368fa1e7)

Repository Not Found for url: https://hf-mirror.com/api/models/runwayml/stable-diffusion-v1-5. Please make sure you specified the correct repo_id and repo_type. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid username or password.. Will try to load from local cache.

is there any alternative and how to edit?

orientalnipper commented 2 months ago

author has remove this repo https://huggingface.co/runwayml/stable-diffusion-v1-5

so use this one which i tested works: ZeroCool94/stable-diffusion-v1-5

there are 3 places you need to change

app\all_models.py: 9: base_model = "runwayml/stable-diffusion-v1-5"

custum_3d_diffusion\custum_modules\unifield_processor.py: 73: init_unet_path: str = "runwayml/stable-diffusion-v1-5"

scripts\sd_model_zoo.py: 7: DEFAULT_BASE_MODEL = "runwayml/stable-diffusion-v1-5"

Linux command: find . -type f -exec sed -i 's/runwayml\/stable-diffusion-v1-5/ZeroCool94\/stable-diffusion-v1-5/g' {} +

justin1230 commented 2 months ago

it works, thanks.!!

josepmy commented 2 months ago

Hi @justin1230 @orientalnipper this solve the attempting to load the lambdalabs/sd-image-variations-diffusers model? The file diffusion_pytorch_model.safetensors is missing

orientalnipper commented 2 months ago

hi @josepmy as far a I know it would still work, just not so safe as .bin file could be injected with malicious code if it did not find .safetensors it will just use .bin available

mattia-z commented 2 months ago

Do you were able to replace stable-diffusion-1.5 with more recent models like stable diffusion 3 or Flux.1?

josepmy commented 1 month ago

@mattia-z interesting, should be possible for SD3.0 but the hard part is tune the pipeline settings for SD3.0, I'm not an expert but you can test and share the results. Also, SD30 involves updating diffusers too Maybe @justin1230 @orientalnipper any thoughts about this?