ResNet
Use ResNet image classification through our Serverless Cloud API
Run ImageNet-pretrained ResNet image classification through the Serverless Cloud API, or self-host using Roboflow Inference.
ResNet pretrained aliases
Pass any of these aliases as the model_id when using the inference-sdk:
resnet18resnet34resnet50resnet101
ResNet accuracy and inference speed
Latency is measured with Roboflow Inference on 1x NVIDIA L4, batch size 1, mean of 1,000 inferences (100 warmup). These aliases run on ONNX (no prebuilt TensorRT engine). Batching does not help: these checkpoints export a fixed batch dimension of 1.
Accuracy is the published ImageNet-1k spec for the standard torchvision weights (source).
resnet18
69.8
89.1
1.4
resnet34
73.3
91.4
2.2
resnet50
76.1
92.9
2.4
resnet101
77.4
93.5
3.7
ResNet API
Get your API Key
Create a Roboflow account, find your key on the Roboflow API settings page and make it available to your shell:
Last updated
Was this helpful?
