Unsup-Im2Im icon indicating copy to clipboard operation
Unsup-Im2Im copied to clipboard

What is the version of tensorflow?

Open zzw1123 opened this issue 8 years ago • 3 comments

Hi,donghao, I am running this project but I find there are so many errors at the beginning of my training, e.g. Traceback (most recent call last): File "train.py", line 362, in tf.app.run() File "/home/zzw/Program/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "train.py", line 355, in main train_ac_gan() File "train.py", line 98, in train_ac_gan g_loss_fake = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(d_logits_fake, tf.ones_like(d_logits_fake))) File "/home/zzw/Program/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/nn_impl.py", line 149, in sigmoid_cross_entropy_with_logits labels, logits) File "/home/zzw/Program/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 1512, in _ensure_xent_args "named arguments (labels=..., logits=..., ...)" % name) ValueError: Only call sigmoid_cross_entropy_with_logits with named arguments (labels=..., logits=..., ...)

I guess these errors are due to differences between mine and yours,so could you please tell me what is your version of tensorflow?

zzw1123 avatar Oct 30 '17 02:10 zzw1123

i think it is TF1.0+

zsdonghao avatar Oct 30 '17 16:10 zsdonghao

Okay,I changed some arguments' order then the errors disappeared. By the way,which conference is this paper contributed to?

zzw1123 avatar Oct 31 '17 01:10 zzw1123

great. it is an arXiv paper

zsdonghao avatar Oct 31 '17 09:10 zsdonghao