Entry Not Found for url: https://huggingface.co/yuxi-liu-wired/CSD/resolve/main/pytorch_model.bin.

#1
by m990130 - opened

Hi thanks for the great HF repo for CSD. However when I tried to run the example.ipynb notebook, it threw me the following error

EntryNotFoundError: 404 Client Error. (Request ID: Root=1-671a8aae-3b6ab86a40a8299e6c82146e;968f6c15-8be9-4b97-883b-9fede9542087)

Entry Not Found for url: https://huggingface.co/yuxi-liu-wired/CSD/resolve/main/pytorch_model.bin.

Could you check if you ever renamed or removed the related files? Many thanks in advance.

Dear m990130

I cannot reproduce the error. I have tried it in Google Colab and it just works. The pipeline is loaded correctly. (You need to add !pip install git+https://github.com/openai/CLIP.git@main since Google Colab doesn't contain the clip natively, and you can't do !pip install clip because that's the wrong clip).

If you are running it natively, try creating a different conda env or pyvenv. It should work.

In fact, I am puzzled by the appearance of pytorch_model.bin, as I don't think that string appears anywhere in example.ipynb.

yuxi-liu-wired changed discussion status to closed

Hey,

I am running locally. It turned out to be an outdated version of huggingface_hub causing the issue (I guess some index or model references are not contained in the older version). By updating it to the newest version solves the issue. Thanks for your quick reply as well as the effort you put into this.

Sign up or log in to comment