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

Invalid argument: You must feed a value for placeholder tensor 'ngl' with dtype int32 #101

Open
mikemech83 opened this issue Feb 1, 2021 · 2 comments

Comments

@mikemech83
Copy link

tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found.
  (0) Invalid argument: You must feed a value for placeholder tensor 'ngl' with dtype int32
	 [[{{node ngl}}]]
	 [[G_z/_53]]
  (1) Invalid argument: You must feed a value for placeholder tensor 'ngl' with dtype int32
	 [[{{node ngl}}]]

Hi, I am trying to generate samples using the models generated by the SpecGAN component. The script I have works great for the wavegan part but fails with the above error when trying to produce sounds using the specgan models. Any suggestions?

@markhanslip
Copy link

markhanslip commented Apr 2, 2021

I have the exact same issue here. Tried defining z, G_z etc as tf.placeholder(tf.int32) before passing to graph.get_tensor_by_name() as per this issue but still no joy.

@nhattruongpham
Copy link

@mikemech83 @markhanslip @chrisdonahue
Has anyone fixed this issue yet? Actually, I have faced the same problem when trying to generate speech with the trained SpecGAN model.
Thanks,

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

3 participants