CLIPasso
CLIPasso copied to clipboard
Huggingface Hub
Hi, would you be interested in adding CLIPasso to Hugging Face Hub? The Hub offers free hosting, and it would make your work more accessible and visible to the rest of the ML community. We can setup a organization or a user under which clipasso can be added similar to github.
Example from other organizations: Keras: https://huggingface.co/keras-io Microsoft: https://huggingface.co/microsoft Facebook: https://huggingface.co/facebook
Example spaces with repos: github: https://github.com/salesforce/BLIP Spaces: https://huggingface.co/spaces/akhaliq/BLIP
github: https://github.com/facebookresearch/omnivore Spaces: https://huggingface.co/spaces/akhaliq/omnivore
and here are guides for adding spaces/models/datasets to your org
How to add a Space: https://huggingface.co/blog/gradio-spaces how to add models: https://huggingface.co/docs/hub/adding-a-model uploading a dataset: https://huggingface.co/docs/datasets/upload_dataset.html
Please let us know if you would be interested and if you have any questions, we can also help with the technical implementation.
Also when trying out the model in colab I get this error
Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.
You may still be able to access the file from the browser:
https://drive.google.com/uc?id=1ao1ovG1Qtx4b7EoskHXmi2E9rp5CHLcZ
another benefit of the huggingface hub is that you dont need to host the models in google drive to avoid these issues
I have added the U2Net model here https://huggingface.co/akhaliq/CLIPasso/blob/main/u2net.pth which can be used in spaces and downloaded for the colab notebook
Thanks
Hi @AK391, thanks for your interest in our work. Sure, no problem with adding CLIPasso to Hugging Face Hub. We can discuss further details via email if necessary.
Regarding the error you mentioned - it means that too many people are trying to use this link simultaneously. The solution is very simple - you just need to wait a bit, and try again :) Or you can download it from the new link you shared (thanks for uploading it to huggingface) and place it under <path-to-CLIPasso>/CLIPasso/U2Net_/saved_models/u2net.pth, and just rerun the script. Let me know if it works for you.
Thanks