ONNX Model Zoo

inference4j/resnet50-v1-7

By inference4j · ↓ 0 · ♥ 0 · Updated 2026-02-13

What's in this repo

This page lists the files in inference4j/resnet50-v1-7, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 3 files, including 1 .md, 1 .onnx
  • Last updated 2026-02-13

ONNX files

File Size Download
model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

ResNet-50 v1.7 — ONNX

ONNX export of ResNet-50, a deep residual network for image classification trained on ImageNet. 50-layer variant with 1000-class output.

Mirrored for use with inference4j, an inference-only AI library for Java.

Original Source

Usage with inference4j

try (ResNet model = ResNet.fromPretrained("models/resnet50")) {
    List<Classification> results = model.classify(Path.of("cat.jpg"));
    results.forEach(c -> System.out.printf("%s: %.2f%%%n", c.label(), c.score() * 100));
}

Model Details

Property Value
Architecture ResNet-50 (50 layers, residual connections)
Task Image classification (ImageNet 1000 classes)
Input [batch, 3, 224, 224] — RGB, ImageNet-normalized
Output [batch, 1000] — class probabilities
Original framework ONNX Model Zoo

License

This model is licensed under the MIT License. Original model from the ONNX Model Zoo.

Model info

onnx resnet image-classification imagenet computer-vision inference4j license:mit region:us
↓ 0 ♥ 0

Created: 2026-02-13

Updated: 2026-02-13

View on Hugging Face

Files (3)

.gitattributes
README.md
model.onnx ONNX

Related models