惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Exploit Database - CXSecurity.com
F
Fortinet All Blogs
U
Unit 42
F
Full Disclosure
雷峰网
雷峰网
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
罗磊的独立博客
D
DataBreaches.Net
C
Check Point Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
O
OpenAI News
C
CXSECURITY Database RSS Feed - CXSecurity.com
aimingoo的专栏
aimingoo的专栏
S
Security @ Cisco Blogs
大猫的无限游戏
大猫的无限游戏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Hacker News
The Hacker News
Webroot Blog
Webroot Blog
Security Latest
Security Latest
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
N
News | PayPal Newsroom
P
Proofpoint News Feed
B
Blog RSS Feed
MongoDB | Blog
MongoDB | Blog
C
Cybersecurity and Infrastructure Security Agency CISA
N
News and Events Feed by Topic
Google Online Security Blog
Google Online Security Blog
H
Help Net Security
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
GbyAI
GbyAI
I
Intezer
Application and Cybersecurity Blog
Application and Cybersecurity Blog
M
MIT News - Artificial intelligence
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
IT之家
IT之家
MyScale Blog
MyScale Blog
腾讯CDC

Mozilla.ai

Open Models are ready for agents. Their APIs are not. Using Octonous as an AI Safety Engineer The Control Layer: Why the Next Era of AI Is About Infrastructure, Not Just Models Introducing Otari: The Open-Source LLM Control Plane Announcing transcribe.cpp Using Octonous as a Product Manager What is an LLM control plane? Use the Otari Gateway with OpenCode Otari: Own Your AI Stack | AI Gateway & Hosted Platform AI Got Expensive. Now What? | Mozilla.ai cq exchange: Agents without Borders The Interface Is No Longer the Product VIBE✓: First Defense for cq (Stack Overflow for Agents) Octonous Open Beta: What We've Learned and Where We're Going Sovereign AI: Control, Choice, and Beyond Geopolitics Encoderfile’s New Format: Why a “Dull” Design Wins The Real Challenge Behind Small Trade Businesses Hardening Your LLM Dependency Supply Chain cq: Stack Overflow for Agents cq: Stack Overflow for Agents llamafile Reloaded: What’s New in v0.10.0 When Shipping Software Becomes Too Easy Mozilla.ai Joins Flower Hub as Launch Partner Owning Code in the Age of AI The Star Chamber: Multi-LLM Consensus for Code Quality
Image Classification Comes to encoderfile
Javier Torres Ramón · 2026-06-23 · via Mozilla.ai
Announcement

Encoderfile now handles images. Starting with image classification, you can run vision models as a single executable — no Python runtime, no serving infrastructure, just a file path in and a label out.

Javier Torres Ramón

2 min read

Image Classification Comes to encoderfile
Image input. Zero dependencies. One label.

At mozilla.ai we have developed encoderfiles to make it easy to deploy pure encoders with zero dependencies on multiple platforms. Although not as glamorous as LLMs, they still power many of the current RAG or sentiment analysis pipelines, to name a few applications. Some prebuilt encoderfiles are already available at HuggingFace, but you can easily build your own from ONNX weights and a JSON config.

Current encoderfiles allow only text processing, either for embeddings or classification. We have expanded the encoderfile project to carry out image tasks, starting with image classification. Object detection and image segmentation will follow soon.

Image Inputs and Interfaces 

Image tasks have somewhat different requirements from text tasks. The binary and large nature of images makes them unsuitable as CLI parameters, so encoderfile reads them from file paths passed as arguments instead. 

We consciously chose not to retrieve remote URLs to reduce the attack surface. The binary nature of images also restricts the use of JSON input, requiring a multipart request in the HTTP/S interface. Since gRPC handles binary data natively, no interface changes are needed there.

Preprocessing

As opposed to text, image tasks are also heavier on preprocessing steps than postprocessing steps. In the case of text embeddings, some kind of pooling can be done on the individual word embeddings, for which we allow Lua scripts to be included in the encoderfile. In the case of images, they usually need to be rescaled to some size (usually 224 x 224 for historical reasons), and normalized from the standard 0-255 byte range to a floating point quantity with some predefined mean and standard deviation. The number of channels is also important, whether it is 1 for grayscale images or 3 for full RGB. So we decided to also allow preprocessing scripts in Lua to make this step flexible, including a default that will usually work out of the box with the most common models.

What’s Next 

We plan to support special files like standard input, Unix named pipes or Windows Named Pipes seamlessly, allowing other components to connect to the encoderfile to feed it with data. 

Object detection tasks share many similarities with image classification, and hence it feels a natural next step. The output is still reduced, since it is just a JSON holding bounding boxes and class tags. The image segmentation task, however, requires sending the user back a potentially large shaded image covering each object. For HTTP requests and local standard output, we will again use multipart payloads; for gRPC, it is even easier to return a blob back.

This is our current roadmap for image processing in encoderfile. We are eager to explore other tasks and other types of input to help make models easy and efficient to deploy, so please let us know what features you would like to see down the road.