Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the Inception-ResNet-v2 model #510

Merged
merged 3 commits into from
Dec 20, 2017

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to implement the Inception-ResNet-v2 model
2 participants