CLIP model support for pipelines
See original GitHub issueI am not sure if this has been considered, or already on the roadmap, but I’d love to be able to just throw a CLIP model ID at a pipe and have it download, and use said model.
I see HF has the capability to do this, and I have seen the clip guided diffusion example Colab, but it seems to be just implemented for text2img and not all the pipelines.
I tried searching PRa and issues and repo from anything related to it being planned, but I don’t see anything.
On a side note, it would be cool to see pipes merged and call the necessary modes via enum or something like pipe.IMG2IMG
as first param for a pretrained pipe setup.
PS loving these latest commits! Wow! Getting faster, and more flexibility.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
CLIP - Hugging Face
CLIP is a multi-modal vision and language model. It can be used for image-text similarity and for zero-shot image classification. CLIP uses a...
Read more >Pipe Support & Clamps at Lowes.com
Find pipe support & clamps at Lowe's today. Shop pipe support & clamps and a variety of plumbing products online at Lowes.com.
Read more >"zero-shot-image-classification" pipeline with ... - GitHub
works from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32") url ...
Read more >Pipe Hangers - Pipe & Fitting Accessories - The Home Depot
Plastic PEX-B Pipe 90-Degree Bend Support with. Model# PXBEND34. (18). $354. Available for pickup. Pickup. 32 in stock at Huntington ...
Read more >E-Z Line ® Adjustable Pipe Supports
The E-Z Line® Adjustable Pipe Support is available in a variety of head styles to ... Liners: FRP, PVC, PTFE ViBlon, I-Rod/I-Clip, Coated...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I love that idea
Hi, thanks for the issue!
It may not be possible to support clip guidance in all pipelines as we want to keep the pipelines simple so any user can modify it according to their needs.
pipelines
are meant to be an example of how a certain task can be done, so they may not support all the functionality. We encourage users to take the pipelines and modify it according to their needs.Also, we just released community pipelines, which will allow any community pipeline to be loaded from
diffusers
, you can see how to load the clip guided pipeline easily in the docwith this anyone can share their pieplines with the community very easily. Can’t wait to see a community contribution for the merged pipelines, we can add it in the community pipelines here https://github.com/huggingface/diffusers/tree/main/examples/community. Feel free to take a shot at it if you want, happy to help 😃