Op

Open-Source Zero-Shot Image Model Server Enabling Model Feedback

Hacker News

Open-Source Zero-Shot Image Model Server Enabling Model Feedback

Hi everyone! Here is an open source implementation of a decently performant server hosting zero-shot image models (CLIP for image classification, OWL-ViT-ST for object detection), with an extra algorithm to allow users to give the models feedback when they make mistakes! We built a company off this flavor of tech two years ago and have clients who are currently using our commercial API. We are now moving on to other projects but want to make sure our clients still have access to the approaches that they've grown to rely on, so we're open sourcing a simple implementation that they'll be able to use after we've shut down our hosted API! I used to work at a robotics startup. After a while it seemed clear that the biggest limiting factor in our ability to ship new models wasn't innovation on model architecture, it was access to relevant, high-quality training data. Around that time CLIP was released, which got me thinking about the idea of having models with world-knowledge baked in so as to reduce the amount of training data required. A year later when Stable Diffusion dropped, my cofounder Ben Brooks and I took the plunge and founded DirectAI, where we worked on building ways to get performant models without collecting any training data, using the knowledge stored in pretrained models instead. In this implementation, we replace the linear classification head typically used in zero-shot image classifiers with a modified nearest neighbors method that lets you use multiple examples (both positive and negative) per-class to make sure the decision boundary the model is using is more aligned with what you had in mind. Our clients have found it very useful for things from interior design to content moderation to sports analytics, building models that are either too niche to be supported by a traditional cloud-hosted computer vision API or are subtly different from the models that existing cloud APIs host. For example, one of our clients wants to filter out all images containing alcohol. Hive has an API for that, but Hive explicitly allows red solo cups that don't obviously have anything alcoholic in them, whereas our client wanted to filter those out too! Feedback is welcome! There are still bugs in the Gradio frontend / codebase in general, but I have a deadline and need to be working on new stuff at a new job starting Monday so I thought I would just go ahead and get it out there! I've never tried to publish a real open source piece of code before and I must admit I am quite nervous!

Share card

Actual performance

5points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, user, computer · Missing: mac, agents, macos
97%97% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: mistakes · Missing: supports, reddit linkedin, podcasting
96%96% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, open source, existing · Missing: https docs, excited, just released
82%82% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: users, way · Missing: mobile apps, ios, personal
48%48% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: host, users · Missing: plus, platform, intuitive
37%37% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: training · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Op
Open-Source Image Model Leaderboard with Public Preference Data48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-Source Image Model Leaderboard with Public Preference Data

Hacker News4
Hy
Hydra – Open-Source OAuth2 Server74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hydra – Open-Source OAuth2 Server

Hacker News190
Op
Open-sourced LXD / Incus image server66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-sourced LXD / Incus image server

Hacker News5
Op
Open-source OAuth2 server Ory Hydra now 6x faster78%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-source OAuth2 server Ory Hydra now 6x faster

Hacker News2
Op
Open-source Valheim game server installer69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-source Valheim game server installer

Hacker News1
An
Announcing Nest2D.dev: Open-Source Server-Side Nesting for DXF76%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Announcing Nest2D.dev: Open-Source Server-Side Nesting for DXF

Hacker News3
Ze
Zero-shot image classifier – Classify images without training43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Zero-shot image classifier – Classify images without training

Hacker News1
CL
CLI for Orthanc, an open-source DICOM server66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CLI for Orthanc, an open-source DICOM server

Hacker News2
Cr
Cron SaaS is Open Source, feedback wanted64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cron SaaS is Open Source, feedback wanted

Hacker News5
Op
OpenAI's zero-shot image classification in browser48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OpenAI's zero-shot image classification in browser

Hacker News3