I am using tensorflow v1.14, tensorflow-probability v0.7 and texar 0.2.4 and I am using python 3.6.8.
I get the following error: tensorflow.python.framework.errors_impl.InvalidArgumentError: Shapes must be equal rank, but are 1 and 0 triggered by file "spamGAN_train.py", line 760, in main
pg_loss.set_shape(()).
Can you please let me know how to fix this error? Otherwise what are the correct versions of the python packages to use this code?
Thank you!
I am using tensorflow v1.14, tensorflow-probability v0.7 and texar 0.2.4 and I am using python 3.6.8.
I get the following error: tensorflow.python.framework.errors_impl.InvalidArgumentError: Shapes must be equal rank, but are 1 and 0 triggered by file "spamGAN_train.py", line 760, in main
pg_loss.set_shape(()).
Can you please let me know how to fix this error? Otherwise what are the correct versions of the python packages to use this code?
Thank you!