Skip to content

Add the Inception-ResNet-v2 model#510

Merged
lcy-seso merged 3 commits intoPaddlePaddle:developfrom
guoshengCS:add-inceptionresnetv2
Dec 20, 2017
Merged

Add the Inception-ResNet-v2 model#510
lcy-seso merged 3 commits intoPaddlePaddle:developfrom
guoshengCS:add-inceptionresnetv2

Conversation

@guoshengCS
Copy link
Collaborator

resolve #509

@lcy-seso lcy-seso self-requested a review December 4, 2017 08:17
提供的Inception-ResNet-v2模型支持`3 * 331 * 331`和`3 * 299 * 299`两种大小的输入,同时可以自行设置dropout概率,可以通过如下的代码使用:

```python
out = inception_resnet_v2.inception_resnet_v2(image, class_dim=CLASS_DIM, dropout_rate=0.5, size=DATA_DIM)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里做一个折行,超过 80 个字符了。

import paddle.v2 as paddle


def conv_bn_layer(input,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个文件的函数都注释一下功能,输入和输出,否则对一般的用户,很难理解和使用。

@lcy-seso lcy-seso merged commit 4f13cce into PaddlePaddle:develop Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants