All models

tresnet_v2_l

A ResNet50 reworked for real GPU throughput rather than FLOP counts, reaching 80.8% ImageNet top-1.

Image classification · 743 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
tresnet
Parameters
46.2M
Operations
743
Framework
PyTorch
Recurrent
No
Published
WACV 2021
Cited by
238 (as of 9 October 2026)
Authors
Tal Ridnik, Hussam Lawen, Asaf Noy and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m10710
Graph hash
9ad1f5f1e35f18153951e845ff01902fa0a35f0cfd1f0c086be32b328323e122
Skeleton hash
2e379516a8c0e69d88a9040ffd4216d327dcd742ee49c69e7a33fdaff1f5b6a4
Architecture hash
c37da438bb68f199d6c64ca4f5b20708d2aa7e010022fd483ef6bbb1eb9b63a6
Diagram SHA-256
c19c2ebaf4a3d53e1d125b7907b4e2089afed78c67afdb1e219178014303fdc8
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

timm.create_model('tresnet_v2_l', pretrained=False)

What it is

About this model's family

TResNet is a family of ResNet-style image classifiers designed around what actually runs fast on a GPU rather than around FLOP counts. The authors' starting observation is that many newer networks beat ResNet50 on ImageNet with fewer FLOPs, yet plain ResNet50 is usually much faster when you measure real GPU training and inference throughput. They trace much of the gap to depthwise and 1x1 convolutions, which cut FLOPs but leave GPUs bound by memory access cost rather than arithmetic.

The design starts from ResNet50 and layers on a specific set of refinements: a SpaceToDepth stem, economical anti-alias downsampling, In-Place Activated BatchNorm, a block-type selection redesign and optimized squeeze-and-excitation (SE) layers. The stem replaces ResNet50's convolution and max pool with a SpaceToDepth layer that rearranges blocks of spatial data into depth, followed by a single convolution to set the channel count. Instead of ResNet's uniform block type, the first two stages use BasicBlock layers for their larger receptive field and the last two use Bottleneck layers. Every BatchNorm plus ReLU pair is replaced by an Inplace-ABN layer, which fuses normalization and activation into one in-place operation to save training memory. Inside it the activation is Leaky-ReLU rather than plain ReLU, which the authors report gives TResNet better accuracy. Downsampling is anti-aliased economically: stride-2 convolutions become stride-1 convolutions followed by a 3x3 blur filter with stride 2. SE blocks appear only in the first three stages, since the low-resolution last stage gains little from them.

Among the code optimizations, dedicated in-place operations gave the biggest boost, improving throughput and raising the maximal batch size. The models were trained on ImageNet at resolution 224 for 300 epochs with SGD and a 1-cycle policy. Three variants, TResNet-M, TResNet-L and TResNet-XL, differ only in depth and channel count. TResNet-M matches ResNet50's GPU throughput and reaches 80.8% top-1 against ResNet50's 79.0%. A short fine-tune at 448 resolution lifts TResNet-M to 83.2% and the largest variant, TResNet-XL, to 84.3%. Beyond ImageNet, the authors report transfer results on Stanford Cars (96.0%), CIFAR-10 (99.0%), CIFAR-100 (91.5%) and Oxford-Flowers (99.1%). Swapping ResNet50 for TResNet-M as the FCOS backbone raised COCO detection mAP from 42.8 to 44.0.

Key idea. A carefully selected set of GPU-aware refinements to ResNet50: a SpaceToDepth stem, economical anti-alias downsampling, Inplace-ABN, a block-type selection redesign and optimized SE layers. Combined with code optimizations, they lift ImageNet top-1 from ResNet50's 79.0% to 80.8% at similar GPU throughput.

  • tresnet
  • tresnet-m
  • tresnet-l
  • tresnet-xl
  • tresnet_v2_l
  • gpu-dedicated resnet
  • high performance gpu architecture
  • image classification
  • imagenet
  • timm

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{ridnik2020tresnethighperformancegpudedicated,
      title={TResNet: High Performance GPU-Dedicated Architecture}, 
      author={Tal Ridnik and Hussam Lawen and Asaf Noy and Emanuel Ben Baruch and Gilad Sharir and Itamar Friedman},
      year={2020},
      eprint={2003.13630},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2003.13630}, 
}