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 #1

Open
senthilkumarpstnj opened this issue Nov 27, 2021 · 0 comments

Comments

@senthilkumarpstnj
Copy link

am getting this error when i try to run your model. i run python 3.6 with Tensorflow 1.15

snapshot of stacktrace :
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [325,256] rhs shape= [149,256]
[[node save/Assign_24 (defined at /home/senthil/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]

Original stack trace for 'save/Assign_24':
File "demo_server.py", line 91, in
synthesizer.load(args.checkpoint)
File "/home/senthil/audio_synthesis/Tamil-end-to-end-speech-synthesis/synthesizer.py", line 24, in load
saver = tf.train.Saver()
File "/home/senthil/.local/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 828, in init
self.build()

i understand your update was couple of years back but any clue will help

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