Model reference · open weights
MediaPipe-ImageEmbedder-MobileNet-V3-Small is an open-weight embedding model from litert-community.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the litert-community/MediaPipe-ImageEmbedder-MobileNet-V3-Small model card, 2026-11-25
What it is
| Released by | litert-community |
|---|---|
| Released | 2026-11-18 |
From the model card
MobileNet-V3 Small image feature extractor (mobilenet_v3_small.tflite, 4.1 MB, 0.75 depth multiplier, FP32 weights) producing 1024-dimensional embedding vectors for visual similarity search and deduplication in the MediaPipe Image Embedder (ImageEmbedder) task.
Trained on ImageNet with a 0.75 channel depth multiplier to balance accuracy and edge latency. Takes normalized 224 x 224 RGB images and outputs a 1024-element feature vector (StatefulPartitionedCall:0), optionally L2-normalized (l2_normalize=True) and scalar-quantized (quantize=True) by MediaPipe ImageEmbedder.
| File | Precision | Size | SHA-256 |
|---|---|---|---|
mobilenet_v3_small.tflite | float32 | 4.12 MB (4,117,670 B) | bbbb4c51a55a53905af1daec995ca1aae355046f8839bb8c9f5ce9271394bc40 |
pip install -U huggingface_hub
hf download litert-community/MediaPipe-ImageEmbedder-MobileNet-V3-Small mobilenet_v3_small.tflite --local-dir .
mobilenet_v3_small.tfliteTFLITE_METADATA: name MobileNetV3 image classifier · version 1 · author MediaPipe · packed associated files: labels.txt| Direction | Tensor | Shape | Type | Notes |
|---|---|---|---|---|
| Input | serving_default_inputs:0 | [-1, 224, 224, 3] | float32 | image — Input image to be embedded. The expected image is 224 x 224, with three channels (red, blue, and green) per pixel. Each element in the tensor is a value between min and max, where (per-channel) min is [0.0] and max is [1.0]. — Normalization: mean=[0.0], std=[255.0] |
| Output | StatefulPartitionedCall:0 | [-1, 1024] | float32 | feature — Feature vector of the input image. |
pip install -U mediapipe huggingface_hub
import mediapipe as mp
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="litert-community/MediaPipe-ImageEmbedder-MobileNet-V3-Small", filename="mobilenet_v3_small.tflite")
BaseOptions = mp.tasks.BaseOptions
ImageEmbedder = mp.tasks.vision.ImageEmbedder
ImageEmbedderOptions = mp.tasks.vision.ImageEmbedderOptions
VisionRunningMode = mp.tasks.vision.RunningMode
options = ImageEmbedderOptions(
base_options=BaseOptions(model_asset_path=model_path),
running_mode=VisionRunningMode.IMAGE,
l2_normalize=True,
)
with ImageEmbedder.create_from_options(options) as embedder:
e1 = embedder.embed(mp.Image.create_from_file("input.jpg")).embeddings[0]
e2 = embedder.embed(mp.Image.create_from_file("other.jpg")).embeddings[0]
print("Cosine similarity:", ImageEmbedder.cosine_similarity(e1, e2))
End-to-end MediaPipe Task pipeline average latency reported by the Image Embedder documentation:
| Model Variant | Device | CPU Latency | GPU Latency |
|---|---|---|---|
| MobileNet-V3 (small) | Pixel 6 | 3.94 ms | 7.83 ms |
Every model binary in this repository is byte-identical (unmodified FlatBuffer weights and embedded TFLITE_METADATA bytes) to the official artifact served by Google from storage.googleapis.com/mediapipe-models.
| Repo File | Upstream URL | GCS Generation | Upstream Last-Modified | Pinned Bucket Version |
|---|---|---|---|---|
mobilenet_v3_small.tflite | mobilenet_v3_small.tflite | 1682480014603937 | Wed, 26 Apr 2023 03:33:34 GMT | /1/ |
apache-2.0 — Stated as Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) in the embedded TFLITE_METADATA block of the .tflite model file(s).@inproceedings{howard2019searching,
title = {Searching for MobileNetV3},
author = {Howard, Andrew and Sandler, Mark and Chu, Grace and Chen, Liang-Chieh and Chen, Bo and Tan, Mingxing and Wang, Weijun and Zhu, Yukun and Pang, Ruoming and Vasudevan, Vijay and Le, Quoc V. and Adam, Hartwig},
booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
year = {2019},
url = {https://arxiv.org/abs/1905.02244}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
How it works