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

NotImplementedError when using drop rate in pooling_layer #1567

Closed
cactiball opened this issue Mar 6, 2017 · 3 comments
Closed

NotImplementedError when using drop rate in pooling_layer #1567

cactiball opened this issue Mar 6, 2017 · 3 comments

Comments

@cactiball
Copy link

When I do:

hidden = pooling_layer(
input=ipt,
pooling_type=AvgPooling(),
layer_attr=ExtraAttr(drop_rate=0.1),
)

I get:
Python Error: <type 'exceptions.NotImplementedError'> : Layer pooling_layer cannot support drop_rate

Is this because I am using an old version code base?

Thanks much!

@luotao1
Copy link
Contributor

luotao1 commented Mar 7, 2017

This is already fixed by #1027 , and will be merged ASAP.

@cactiball
Copy link
Author

Thanks

@luotao1
Copy link
Contributor

luotao1 commented Mar 14, 2017

@cactiball #1027 has been merged now. You can have a try.

@luotao1 luotao1 closed this as completed Mar 14, 2017
lizexu123 pushed a commit to lizexu123/Paddle that referenced this issue Feb 23, 2024
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

No branches or pull requests

2 participants