18 Star 74 Fork 49

DeepSpark / DeepSparkHub

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
majorli6 提交于 2023-08-01 08:42 . !186add AlexNet TensorFlow model

AlexNet

AlexNet is a groundbreaking convolutional neural network (CNN) introduced in 2012. It revolutionized computer vision by demonstrating the power of deep learning in image classification. With eight layers, including five convolutional and three fully connected layers, it achieved remarkable results on the ImageNet challenge with a top-1 accuracy of around 57.1%. AlexNet's success paved the way for widespread adoption of deep neural networks in computer vision tasks.

Installation

pip3 install absl-py git+https://github.com/NVIDIA/dllogger#egg=dllogger

Preparing datasets

You can get ImageNet 1K TFrecords ILSVRC2012 dataset directly from below links:

The ImageNet TFrecords dataset path structure should look like:

imagenet_tfrecord
├── train-00000-of-01024
├── ...
├── train-01023-of-01024
├── validation-00000-of-00128
├── ...
└── validation-00127-of-00128

Training

Put the TFrecords data in "./imagenet_tfrecord" directory or create a soft link.

# 1 GPU
bash run_train_alexnet_imagenet.sh

# 8 GPUs
bash run_train_alexnet_multigpu_imagenet.sh

Results

GPUs ACC FPS
BI-v100 x8 Accuracy @1 = 0.5633 Accuracy @ 5 = 0.7964 1833.9 images/sec

Reference

Python
1
https://gitee.com/deep-spark/deepsparkhub.git
git@gitee.com:deep-spark/deepsparkhub.git
deep-spark
deepsparkhub
DeepSparkHub
master

搜索帮助