New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding CLIPSeg to HuggingFace Transformers 馃 #18
Comments
Hi Niels, I'm glad you like our method and thanks for integrating it into HF Transformers! I guess, providing the weights under your user is fine for now. |
I've created a CIDAS organization on the hub, feel free to join :) |
CLIPSeg is now available here: https://huggingface.co/docs/transformers/main/en/model_doc/clipseg. Would be highly appreciated if you add a mention to it in the README 馃檹 |
@NielsRogge Hey, could you clarify one minor thing to me? This repo in the I've seen that you've ported the weights somehow, but didn't you do something with the fact that different nomalization was used? Also it's confusing that here you use Imagenet mean/std for tests. upd. after few test it seem that this is really a bug and default processors params at HF are incorrect |
Hi, Thanks for flagging. I'll update the mean and std of the checkpoints on the hub. Visually I don't see any differences though. |
The difference is minor, because the models in general a very robust to such things as slightly scaled inputs, but still it's better to use correct norm :) thanks for a quick fix |
Hi,
Thanks for this awesome work. As I really liked the approach of adapting CLIP for zero and one-shot image segmentation, I implemented your model as a branch of 馃 Transformers.
The model is soon going to be added to the main library (see huggingface/transformers#20066). Here's a Colab notebook to showcase usage: https://colab.research.google.com/drive/1ijnW67ac6bMnda4D_XkdUbZfilyVZDOh?usp=sharing.
Would you like to create an organization on the hub, under which the checkpoints can be hosted?
Currently I host them under my own username: https://huggingface.co/models?other=clipseg.
Thanks!
Niels,
ML Engineer @ HF
The text was updated successfully, but these errors were encountered: