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

The problem of using pylearn2's cnn #1548

Open
YangShuguang opened this issue Jun 30, 2015 · 1 comment
Open

The problem of using pylearn2's cnn #1548

YangShuguang opened this issue Jun 30, 2015 · 1 comment

Comments

@YangShuguang
Copy link

firstly,when I configure the pool_style: 'mean'. the computer raise the problem that "ValueError: monitor channels are expected to have dtype float64 but "test_h0_range_x_min_u" has dtype float32"
then,In the pylearn2.models.mlp.ConvRectifiedLinear.mean_pool() function, I change " wide_infinity = T.alloc(-np.inf,........)" to "wide_infinity = T.alloc(T.constant(-np.inf, dtype=config.floatX),.....)". the problem seems to be solved. but the new proble appears, the computer raise the problem that "Exception: NaN in h0_W" .

Am I missing anything?

@YangShuguang
Copy link
Author

I want to know that if I want to use 'pool_style: 'mean' ' in the cnn of the pylearn2, what shold I do? Ladies and gentlemen, can you give me an answer or the example of the 'pool_style=mean'? thank you

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

1 participant