All models

efficientnet_b8

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

Image classification · 1,262 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
87.4M
Operations
1,262
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
m4587
Graph hash
4873359b35eb10e2ce8e9b2b14b9ac9fd5fed894d0a0e27803cf674de528e39a
Skeleton hash
44d09dbc22056462ad843f12b1cbd1eaff3d26a76e0f5e5ff626ec4f56bd9a37
Architecture hash
ee194675495e2ab2be0e4e6c33b367c38aed169eb9209efb7b8b17cba89fa507
Diagram SHA-256
dc7fd8c54deb61b77aff92c7e81c97d97d10599d6da9da12ee3a4d7677ed9589
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_b8', 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.