Downloads · 30 days
0
alexgenovese/segformer-onnx
segformer-onnx is a machine learning model from alexgenovese. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is an ONNX version of the model mattmdjaga/segformerb2clothes, converted automatically.
Downloads · 30 days
0
Access
Public
Updated Mar 1, 2025
Repo size
300 MB
Likes
0
Public
Click a slice to open those files.
.onnx300 MB · 100%
From the Hugging Face model README
This is an ONNX version of the model mattmdjaga/segformer_b2_clothes, converted automatically.
import onnxruntime as ort
import numpy as np
# Load ONNX model
session = ort.InferenceSession("model.onnx")
# Prepare input
input_data = np.zeros((1, 3, 224, 224), dtype=np.float32)
# Run inference
outputs = session.run(None, {"input": input_data})