tensorflow_tutorials
tensorflow_tutorials copied to clipboard
TypeError: pred must not be a Python bool
I am getting TypeError: pred must not be a Python bool
in the line lambda: (ema_mean, ema_var)) in batch_norm function.
Looking forward for the help
Above error is while using tf.nn.conv2d_transpose and then batch norm
Just using tf.constant(False, dtype=tf.bool)
replace the Python bool ('False' or 'True'), it'll work. @sachinjm