8000 GitHub - senlin-ali/technical-demo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

senlin-ali/technical-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Technical Demos

This is a repository for a collection of technical demos made by Annotation-AI.

Segment Everything: CPU acceleration and promptable applications

Summary

Every demo doesn't use GPU resources, and they are served on CPU only instances.

Background

One of the most appealing applications of Segment Anything Model (SAM) is Everything, which detects and segments all objects in an image. However, it requires 1,024 inferences per a single image, and due to the reason, it is hard to be feasible for service providers who don’t have massive GPU resources. In order to handle this issue, we re-implemented the Everything algorithm in iterative manner that is better for CPU only environments. Mostly, we can expect comparable results to the original Everything within 1/5 number of inferences (e.g. 1024 vs 200), and it takes under 10 seconds to search for masks on a CPU upgrade instance (8 vCPU, 32GB RAM) of Huggingface space.

We named it Fast Segment Everything. You can run the DEMO in HuggingFace Space. everything

Applications: Promptable Segmentation

Based on Fast Segment Everything algorithm, we built a number of applications for promptable segmentation.: text, image, drawing, and click.

Title GIF Demo
Segment everything with a text prompt everything_text HuggingFace Space
Segment everything with an image prompt everything_img HuggingFace Space
Segment everything with a drawing prompt everything_drawing HuggingFace Space
Segment similar things! (Single click) similarthings HuggingFace Space

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0