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

InvalidArgumentError: Assign requires shapes of both tensors to match , #2 #41

Open
abhishekgupte94 opened this issue Mar 6, 2019 · 1 comment

Comments

@abhishekgupte94
Copy link

Hi.
I've already trained a seq2seq model following this brilliant article, however I would like to train it more on new data and would seriously love to avoid training the whole thing again instead. I keep getting this InvalidArgumentError: Assign requires shapes of both tensors to match." error whenever I restore the model and try to retrain it using the normal way of training a model. Any ideas on how to go about this?

@adeshpande3
Copy link
Owner

#9 Double check to make sure that the shapes of all your variables are the same as the graph you saved, same number of LSTM units, etc.

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