
brainscore_alexnet
Image classification22 ops61.1M params
The single-tower AlexNet as built by torchvision: a convolutional network for ImageNet image classification.
Image classification · 22 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
torchvision.models.get_model('alexnet', weights=None) About this model's family
AlexNet is a deep convolutional network for ImageNet image classification. The torchvision version is slightly different from the original and is based instead on a second paper, One weird trick for parallelizing convolutional neural networks. That paper describes its model as a minor variation on the winning model from the ILSVRC 2012 contest, with one tower of layers instead of two. The single tower has five convolutional layers with 64, 192, 384, 384 and 256 filters. The paper reports 0.2% more parameters and 2.4% fewer connections than the two-tower model.
The paper's subject is parallel training: it spreads the work over several GPUs by giving each one different data in the convolutional layers (data parallelism) and a different part of the model in the fully-connected layers (model parallelism). The reasoning is that convolutional layers hold about 90-95% of the computation but only about 5% of the parameters. Fully-connected layers hold about 5-10% of the computation and about 95% of the parameters. The paper reports that the scheme scales well for this model, though not quite linearly. Its experiments ran on a machine with eight NVIDIA K20 GPUs.
Key idea. The paper parallelizes convolutional network training across multiple GPUs by using data parallelism in the convolutional layers and model parallelism in the fully-connected layers.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{krizhevsky2014weirdtrickparallelizingconvolutional,
title={One weird trick for parallelizing convolutional neural networks},
author={Alex Krizhevsky},
year={2014},
eprint={1404.5997},
archivePrefix={arXiv},
primaryClass={cs.NE},
url={https://arxiv.org/abs/1404.5997},
}