import birder
from birder.inference.classification import infer_image
(net, model_info) = birder.load_pretrained_model("efficientvim_m1_il-common", inference=True)
# Get the image size the model was trained on
size = birder.get_size_from_signature(model_info.signature)
# Create an inference transform
transform = birder.classification_transform(size, model_info.rgb_stats)
image = "path/to/image.jpeg"# or a PIL image, must be loaded in RGB format
(out, _) = infer_image(net, image, transform)
# out is a NumPy array with shape of (1, 371), representing class probabilities.
Image Embeddings
import birder
from birder.inference.classification import infer_image
(net, model_info) = birder.load_pretrained_model("efficientvim_m1_il-common", inference=True)
# Get the image size the model was trained on
size = birder.get_size_from_signature(model_info.signature)
# Create an inference transform
transform = birder.classification_transform(size, model_info.rgb_stats)
image = "path/to/image.jpeg"# or a PIL image
(out, embedding) = infer_image(net, image, transform, return_embedding=True)
# embedding is a NumPy array with shape of (1, 320)
Detection Feature Map
from PIL import Image
import birder
(net, model_info) = birder.load_pretrained_model("efficientvim_m1_il-common", inference=True)
# Get the image size the model was trained on
size = birder.get_size_from_signature(model_info.signature)
# Create an inference transform
transform = birder.classification_transform(size, model_info.rgb_stats)
image = Image.open("path/to/image.jpeg")
features = net.detection_features(transform(image).unsqueeze(0))
# features is a dict (stage name -> torch.Tensor)print([(k, v.size()) for k, v in features.items()])
# Output example:# [('stage1', torch.Size([1, 128, 16, 16])),# ('stage2', torch.Size([1, 192, 8, 8])),# ('stage3', torch.Size([1, 320, 4, 4]))]
Citation
@misc{lee2025efficientvimefficientvisionmamba,
title={EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality},
author={Sanghyeok Lee and Joonmyung Choi and Hyunwoo J. Kim},
year={2025},
eprint={2411.15241},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2411.15241},
}
Runs of birder-project efficientvim_m1_il-common on huggingface.co
14
Total runs
1
24-hour runs
1
3-day runs
-1
7-day runs
6
30-day runs
More Information About efficientvim_m1_il-common huggingface.co Model
More efficientvim_m1_il-common license Visit here:
efficientvim_m1_il-common huggingface.co is an AI model on huggingface.co that provides efficientvim_m1_il-common's model effect (), which can be used instantly with this birder-project efficientvim_m1_il-common model. huggingface.co supports a free trial of the efficientvim_m1_il-common model, and also provides paid use of the efficientvim_m1_il-common. Support call efficientvim_m1_il-common model through api, including Node.js, Python, http.
efficientvim_m1_il-common huggingface.co is an online trial and call api platform, which integrates efficientvim_m1_il-common's modeling effects, including api services, and provides a free online trial of efficientvim_m1_il-common, you can try efficientvim_m1_il-common online for free by clicking the link below.
birder-project efficientvim_m1_il-common online free url in huggingface.co:
efficientvim_m1_il-common is an open source model from GitHub that offers a free installation service, and any user can find efficientvim_m1_il-common on GitHub to install. At the same time, huggingface.co provides the effect of efficientvim_m1_il-common install, users can directly use efficientvim_m1_il-common installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
efficientvim_m1_il-common install url in huggingface.co: