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

Possible minor bug in Keras instruction #56

Closed
IrrationalKyo opened this issue May 15, 2018 · 1 comment
Closed

Possible minor bug in Keras instruction #56

IrrationalKyo opened this issue May 15, 2018 · 1 comment

Comments

@IrrationalKyo
Copy link

IrrationalKyo commented May 15, 2018

In the keras instruction:

# Reshape y_train: 
y_train_tiled = numpy.tile(y_train, (num_time_steps,1))
y_train_tiled = y_train_tiled.reshape(len(y_train), num_time_steps , 1)

y_train_tiled should be transposed between tiling and reshaping if we want to assign the same label to the time distributed outputs of a single example.

@IrrationalKyo
Copy link
Author

I think I was wrong.

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