Error when call function SF3D.from_pretrained neverteless I authenticated on huggingface
Using the I use the github code source https://github.com/Stability-AI/stable-fast-3d
and login() huggingface authenticate function with my token and grant stable-fast-3d access model.
However allways get the error "Cannot access gated repo for url https://huggingface.co/stabilityai/stable-fast-3d/resolve/main/config.yaml."
I also have the same
Hi,
Did you request the access to the gated model? “Access gated models as a user” in https://huggingface.co/docs/hub/models-gated
Use this command in your environment:
huggingface-cli login
and add your token in it. Then it will work...
delete the virtual env and create from scratch also do not install dependencies with versions (==x.x) try installing with general names. then in the same env run the command again and make sure that your huggingface token has READ access not write or custom . Hopefully it will resolve all your problems... ;)
Do not put token in env using python code instead use IDE's Terminal > activate the .venv > use the command and paste in it.
You will see system.py file opened automatically in terminal and your token will be saved there. FYI system.py file is under ./sf3d/
I got same error message. I tried to create new env then repeat the process but still nothing changed.