All models

cspresnet50d

A ResNet built with the Cross Stage Partial approach, which splits a feature map in two and merges it later.

Image classification · 316 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 (29 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

Parameters
21.6M
Operations
316
Framework
PyTorch
Recurrent
No
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
m3989
Graph hash
039e283efe0163a33e86ddc3e1e88914d5994e827d01a8e187306c97d4ac367b
Skeleton hash
f99a94a5976fb2d3f4a42be679788b2c772c73b89555681b585beee9559cd9ec
Architecture hash
4a13604a5c70ceeb7a6da8d9c067cf123c69a682ed527d1d849f82ed97a8adfa
Diagram SHA-256
c8ac65821885a8784c638e33d6238348a5cf1ea4a59e7a0b2578ccee2fb8457a
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('cspresnet50d', pretrained=False)

What it is

About this model's family

CSPResNet is a convolutional neural network that applies the Cross Stage Partial Network (CSPNet) approach to ResNet. CSPNet partitions the feature map of the base layer into two parts and then merges them through a cross-stage hierarchy. This split and merge strategy allows for more gradient flow through the network.

In timm the model is part of the CspNet module, a PyTorch implementation of Cross Stage Partial Networks that also covers CSPResNeXt50, CSPDarkNet53 and DarkNet53. The module is based on the paper "CSPNet: A New Backbone that can Enhance Learning Capability of CNN". Its reference implementation is the set of darknet cfg files in the WongKinYiu/CrossStagePartialNetworks repository. A pretrained model can be fine-tuned by changing only the classifier, which is the last layer.

Key idea. CSPResNet applies the Cross Stage Partial Network approach to ResNet, splitting the base layer's feature map into two parts and merging them through a cross-stage hierarchy.

  • cspresnet
  • csp-resnet
  • csp resnet
  • cspresnet50
  • cross stage partial network
  • cross stage partial resnet
  • image classification

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