
cspresnet50d
Image classification316 ops21.6M params
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
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
timm.create_model('cspresnet50w', pretrained=False) 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.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.