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

Declared X_in as dtype='float32' in autoencoder.py #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Declared X_in as dtype='float32' in autoencoder.py #30

wants to merge 1 commit into from

Conversation

j0b333
Copy link

@j0b333 j0b333 commented Jul 22, 2018

train_op ran into trouble as default theano.tensor.matrix is of type float64 while all other variables are of type float32.
Replacing X_in = T.matrix('X_%s' % self.id) by X_in = T.matrix('X_%s' % self.id, dtype='float32') fixes this issue.

train_op ran into trouble as default theano.tensor.matrix is of type float64 while all other variables are of type float32.
Declaring X_in as dtype='float32' fixes the problem.
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.

1 participant