All models

cspdarknet53

CSPDarknet53, a DarkNet-53 based convolutional backbone that splits and merges feature maps across stages.

Image classification · 362 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 (19 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
27.6M
Operations
362
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
m3987
Graph hash
7e0625f5055f7053d38857037c9ab2bcb857298269e8d8d67e6e24c5fa887c9c
Skeleton hash
24b03b49c24ce96861dc8bc222060a346444d2fbf34d08c80645868fb1e959f8
Architecture hash
d00adfd5f37aa4c716e15ae510215f8b794be3d37b0c948486fc78e9f7b04b4c
Diagram SHA-256
dd4045e506f91fa1fbada2e6cc2d3458bce33d7ddf45cdc423dc5639b1710d53
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('cspdarknet53', pretrained=False)

What it is

CSPDarknet53 is a convolutional neural network built on DarkNet-53 and meant as a backbone for object detection. It follows the CSPNet strategy: the feature map of the base layer is partitioned into two parts, and the parts are merged again through a cross-stage hierarchy. Splitting and merging in this way allows more gradient flow through the network.

This network is used as the backbone for YOLOv4. In timm it belongs to an implementation of Cross Stage Partial Networks that also includes CSPResNet50, CSPResNeXt50 and DarkNet53. That implementation is based on the paper "CSPNet: A New Backbone that can Enhance Learning Capability of CNN", with darknet cfg files as the reference.

Key idea. CSPDarknet53 applies the CSPNet strategy to DarkNet-53, partitioning the base layer's feature map into two parts and merging them through a cross-stage hierarchy.

  • cspdarknet
  • cspdarknet53
  • csp-darknet
  • csp darknet
  • cross stage partial network
  • object detection backbone
  • image classification
  • convolutional neural network

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