From 3c27503f35e20f15c3a5eb39a813f26109dbf891 Mon Sep 17 00:00:00 2001 From: liyanliu Date: Tue, 21 Jul 2020 21:24:44 +0800 Subject: [PATCH] move googlenet into official dir --- model_zoo/{ => official/cv}/googlenet/README.md | 12 +++--------- model_zoo/{ => official/cv}/googlenet/eval.py | 0 model_zoo/{ => official/cv}/googlenet/export.py | 0 .../{ => official/cv}/googlenet/scripts/run_eval.sh | 0 .../{ => official/cv}/googlenet/scripts/run_train.sh | 0 model_zoo/{ => official/cv}/googlenet/src/config.py | 0 model_zoo/{ => official/cv}/googlenet/src/dataset.py | 0 .../{ => official/cv}/googlenet/src/googlenet.py | 0 model_zoo/{ => official/cv}/googlenet/train.py | 0 9 files changed, 3 insertions(+), 9 deletions(-) rename model_zoo/{ => official/cv}/googlenet/README.md (95%) rename model_zoo/{ => official/cv}/googlenet/eval.py (100%) rename model_zoo/{ => official/cv}/googlenet/export.py (100%) rename model_zoo/{ => official/cv}/googlenet/scripts/run_eval.sh (100%) rename model_zoo/{ => official/cv}/googlenet/scripts/run_train.sh (100%) rename model_zoo/{ => official/cv}/googlenet/src/config.py (100%) rename model_zoo/{ => official/cv}/googlenet/src/dataset.py (100%) rename model_zoo/{ => official/cv}/googlenet/src/googlenet.py (100%) rename model_zoo/{ => official/cv}/googlenet/train.py (100%) diff --git a/model_zoo/googlenet/README.md b/model_zoo/official/cv/googlenet/README.md similarity index 95% rename from model_zoo/googlenet/README.md rename to model_zoo/official/cv/googlenet/README.md index 92cdd8af43d..67660b61d7b 100644 --- a/model_zoo/googlenet/README.md +++ b/model_zoo/official/cv/googlenet/README.md @@ -36,14 +36,8 @@ GoogleNet, a 22 layers deep network, was proposed in 2014 and won the first plac # [Model Architecture](#contents) -The overall network architecture of GoogleNet is shown below: - -![](https://miro.medium.com/max/3780/1*ZFPOSAted10TPd3hBQU8iQ.png) - Specifically, the GoogleNet contains numerous inception modules, which are connected together to go deeper. In general, an inception module with dimensionality reduction consists of **1×1 conv**, **3×3 conv**, **5×5 conv**, and **3×3 max pooling**, which are done altogether for the previous input, and stack together again at output. -![](https://miro.medium.com/max/1108/1*sezFsYW1MyM9YOMa1q909A.png) - # [Dataset](#contents) @@ -230,10 +224,10 @@ accuracy: {'acc': 0.9217} | Loss | 0.0016 | | Speed | 1pc: 79 ms/step; 8pcs: 82 ms/step | | Total time | 1pc: 63.85 mins; 8pcs: 11.28 mins | -| Parameters (M) | 6.8 | +| Parameters (M) | 13.0 | | Checkpoint for Fine tuning | 43.07M (.ckpt file) | | Model for inference | 21.50M (.onnx file), 21.60M(.geir file) | -| Scripts | https://gitee.com/mindspore/mindspore/tree/master/model_zoo/googlenet | +| Scripts | https://gitee.com/mindspore/mindspore/tree/master/model_zoo/official/cv/googlenet | ### Inference Performance @@ -243,7 +237,7 @@ accuracy: {'acc': 0.9217} | Model Version | Inception V1 | | Resource | Ascend 910 | | Uploaded Date | 06/09/2020 (month/day/year) | -| MindSpore Version | 0.3.0-alpha | +| MindSpore Version | 0.2.0-alpha | | Dataset | CIFAR-10, 10,000 images | | batch_size | 128 | | outputs | probability | diff --git a/model_zoo/googlenet/eval.py b/model_zoo/official/cv/googlenet/eval.py similarity index 100% rename from model_zoo/googlenet/eval.py rename to model_zoo/official/cv/googlenet/eval.py diff --git a/model_zoo/googlenet/export.py b/model_zoo/official/cv/googlenet/export.py similarity index 100% rename from model_zoo/googlenet/export.py rename to model_zoo/official/cv/googlenet/export.py diff --git a/model_zoo/googlenet/scripts/run_eval.sh b/model_zoo/official/cv/googlenet/scripts/run_eval.sh similarity index 100% rename from model_zoo/googlenet/scripts/run_eval.sh rename to model_zoo/official/cv/googlenet/scripts/run_eval.sh diff --git a/model_zoo/googlenet/scripts/run_train.sh b/model_zoo/official/cv/googlenet/scripts/run_train.sh similarity index 100% rename from model_zoo/googlenet/scripts/run_train.sh rename to model_zoo/official/cv/googlenet/scripts/run_train.sh diff --git a/model_zoo/googlenet/src/config.py b/model_zoo/official/cv/googlenet/src/config.py similarity index 100% rename from model_zoo/googlenet/src/config.py rename to model_zoo/official/cv/googlenet/src/config.py diff --git a/model_zoo/googlenet/src/dataset.py b/model_zoo/official/cv/googlenet/src/dataset.py similarity index 100% rename from model_zoo/googlenet/src/dataset.py rename to model_zoo/official/cv/googlenet/src/dataset.py diff --git a/model_zoo/googlenet/src/googlenet.py b/model_zoo/official/cv/googlenet/src/googlenet.py similarity index 100% rename from model_zoo/googlenet/src/googlenet.py rename to model_zoo/official/cv/googlenet/src/googlenet.py diff --git a/model_zoo/googlenet/train.py b/model_zoo/official/cv/googlenet/train.py similarity index 100% rename from model_zoo/googlenet/train.py rename to model_zoo/official/cv/googlenet/train.py