在运行WaterGAN的代码时出现:
AttributeError: module 'tensorflow' has no attribute 'mul'
将
eta_d = tf.exp(tf.mul(-1.0,tf.multiply(depth,eta)))
改为:
eta_d = tf.exp(tf.multiply(-1.0,tf.multiply(depth,eta)))
即改:mul->multiply
在运行WaterGAN的代码时出现:
AttributeError: module 'tensorflow' has no attribute 'mul'
将
eta_d = tf.exp(tf.mul(-1.0,tf.multiply(depth,eta)))
改为:
eta_d = tf.exp(tf.multiply(-1.0,tf.multiply(depth,eta)))
即改:mul->multiply