segformer-onnx / README.md
alexgenovese's picture
Upload README.md with huggingface_hub
f787b3b verified
metadata
base_model: mattmdjaga/segformer_b2_clothes
tags:
  - onnx
  - semantic-segmentation

ONNX Model converted from mattmdjaga/segformer_b2_clothes

This is an ONNX version of the model mattmdjaga/segformer_b2_clothes, converted automatically.

Model Information

  • Original Model: mattmdjaga/segformer_b2_clothes
  • ONNX Opset Version: 12
  • Input Shape: Dynamic (batch_size, 3, height, width)

Usage

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})