From 2bd2a60b6a2e0b8e03915d9fcf4c9d18128af696 Mon Sep 17 00:00:00 2001 From: liuliyan2 Date: Fri, 8 May 2020 17:33:18 +0800 Subject: [PATCH] 1. remove external links. 2.update python doc --- example/googlenet_cifar10/README.md | 2 +- mindspore/model_zoo/googlenet.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/googlenet_cifar10/README.md b/example/googlenet_cifar10/README.md index fbadab141d..1acc7d1e1e 100755 --- a/example/googlenet_cifar10/README.md +++ b/example/googlenet_cifar10/README.md @@ -8,7 +8,7 @@ This example is for Googlenet model training and evaluation. - Install [MindSpore](https://www.mindspore.cn/install/en). -- Download the dataset [CIFAR-10](http://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz). +- Download the CIFAR-10 binary version dataset. > Unzip the CIFAR-10 dataset to any path you want and the folder structure should be as follows: > ``` diff --git a/mindspore/model_zoo/googlenet.py b/mindspore/model_zoo/googlenet.py index de1d582eb5..4a572828de 100644 --- a/mindspore/model_zoo/googlenet.py +++ b/mindspore/model_zoo/googlenet.py @@ -32,7 +32,7 @@ class Conv2dBlock(nn.Cell): kernel_size (int): Input kernel size. Default: 1 stride (int): Stride size for the first convolutional layer. Default: 1. padding (int): Implicit paddings on both sides of the input. Default: 0. - pad_mode (int): Padding mode. Optional values are "same", "valid", "pad". Default: "same". + pad_mode (str): Padding mode. Optional values are "same", "valid", "pad". Default: "same". Returns: Tensor, output tensor. """