Skip to content

Models

glitchdata/resnet50-v2-onnx

♡ Like 0
Image classification ONNX licence: Apache-2.0 vision imagenet onnx

A ResNet-50 v2 trained on ImageNet, exported to ONNX: classifies an image into one of 1,000 categories.

About

ResNet-50 (version 2, with pre-activation residual blocks) trained on the ImageNet-1k classification set and exported to ONNX (opset 7) by the ONNX Model Zoo. A dependable baseline for image classification and a common backbone for transfer learning.

Input and output

  • Input: float32[N, 3, 224, 224] — RGB images resized to 224 × 224, scaled to 0–1 and normalised with the ImageNet mean [0.485, 0.456, 0.406] and standard deviation [0.229, 0.224, 0.225].
  • Output: float32[N, 1000] scores for the ImageNet classes; apply softmax for probabilities.
import onnxruntime as ort

session = ort.InferenceSession("resnet50-v2-7.onnx")
scores = session.run(None, {session.get_inputs()[0].name: batch})[0]

Licence

Apache-2.0, from the ONNX Model Zoo on GitHub.

Learn with this model

Courses and guides on this site that work with it.

Related models

Browse models →

Maps sentences and short paragraphs to 384-dimensional vectors for semantic search, clustering and similarity. Small and fast.

Sentence similarity · Updated 4d ago · ↓ 17

OpenAI's smallest Whisper model: transcribes and translates speech in about 100 languages. 39M parameters.

Automatic speech recognition · Updated 4d ago · ↓ 4