All models

efficientnet_b6

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

Image classification · 930 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 (28 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
43M
Operations
930
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
m4581
Graph hash
4dcdb9d4a86db3d4cb74ab4c0da96ac73addb5709149ca20891d7391ac2479c9
Skeleton hash
2e254698d2af841c1b1653b0184adbd7c2e93aaf369b7a5b3b43031653443a8a
Architecture hash
d4804dbf1e1a97ad33f99907f7d11f19f8682a9a8a4543808a8f373870cc3284
Diagram SHA-256
41080b033f6df99f4836bd694d4600bd27c82099938d7cfa490560840cd8e233
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('efficientnet_b6', 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.