wavegan icon indicating copy to clipboard operation
wavegan copied to clipboard

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

Open mikemech83 opened this issue 5 years ago • 3 comments

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?

mikemech83 avatar Feb 01 '21 16:02 mikemech83

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.

markhanslip avatar Apr 02 '21 15:04 markhanslip

@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,

nhattruongpham avatar Oct 14 '22 03:10 nhattruongpham