In this video, I combine the output of Segment Anything Model (SAM) by Meta AI with Stable Diffusion Inpainting using Hugging Face Diffusers library and Gradio. In the end, we create a simple app for inpainting in which mask is decided by the SAM model.
Demo link will be pasted here when its available
Example image comes from here: https://github.com/CompVis/latent-diffusion/blob/main/data/inpainting_examples/6458524847_2f4c361183_k.png
#stablediffusion #sam
Please subscribe and like the video to help me keep motivated to make awesome videos like this one. :)
My book, Approaching (Almost) Any Machine Learning problem, is available for free here: https://bit.ly/approachingml
Follow me on:
Twitter: https://twitter.com/abhi1thakur
LinkedIn: https://www.linkedin.com/in/abhi1thakur/
Kaggle: https://kaggle.com/abhishek
Choose to Build with AI
Matched to Image Generation
AI Maker Residence 3
The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code.
Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.
◆ Fri 09 Oct 2026◆ KOKO Cafe, London◆ With Nick Sarafa