All models

efficientnet_b7

Mobile-style convolutional classifiers scaled in depth, width and resolution by one coefficient.

Image classification · 1,136 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 (27 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
66.3M
Operations
1,136
Framework
PyTorch
Recurrent
No
Published
2019
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
m4584
Graph hash
1178b53f83ec594e8abb522bb5ff634fc64eb550ce5b4254fd008b3f945bf1c9
Skeleton hash
5f08441fee16484f57f426bf9774ae3ed4038159f6ce9fe3af351a4d6c681466
Architecture hash
4caebd655d5e0264032d662f21fc057c02f750b385c68797e8e9ca74ad667ed5
Diagram SHA-256
1e1b5697fa21337cd233cb2f8d0036dcf30e3a0f64c731deed1657365ee564cb
TorchLens version
2.36.0
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('efficientnet_b7', pretrained=False)

What it is

About this model's family

EfficientNet is a convolutional network architecture and a scaling method. The idea is compound scaling: instead of scaling depth, width or resolution arbitrarily, all three are scaled together by fixed coefficients set by a single compound coefficient. The intuition is that a bigger input image needs more layers to grow the receptive field and more channels to capture finer patterns. The baseline EfficientNet-B0 was found by neural architecture search and then scaled up into the B-series. Its blocks are the inverted bottleneck residual blocks of MobileNetV2 with squeeze-and-excitation added. The paper reports EfficientNet-B7 at 84.3% top-1 on ImageNet while being 8.4x smaller and 6.1x faster at inference than the best existing ConvNet.

The captured members are mostly timm's EfficientNet family: B0 through B8 and L2, the tf_ ports of the TensorFlow weights, and variants with GroupNorm, grouped convolutions or EvoNorm. The pruned B1, B2 and B3 members were obtained with knapsack pruning with inner distillation, which prunes channels while keeping the high-level structure and fine-tunes under the parent network's supervision. One member is an EfficientNetV2 variant; that family was searched with training-aware neural architecture search and adds Fused-MBConv blocks, training much faster while being up to 6.8x smaller. Two members come from Hugging Face Transformers, which exposes the model as a bare backbone and as an image classifier.

Key idea. Compound scaling: a single coefficient scales network depth, width and input resolution together, applied to a searched mobile-style baseline to produce a family of efficient classifiers.

  • efficientnet
  • efficientnet-b0
  • efficientnet-b7
  • efficientnetv2
  • compound scaling
  • mbconv
  • image classification
  • imagenet
  • tf_efficientnet
  • efficientnet lite
  • pruned efficientnet

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