You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tf.mul is now deprecated, and needs to be replaced with tf.multiply. Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior. Traceback (most recent call last): File "icnn.back.py", line 421, in <module> main() File "icnn.back.py", line 104, in main model = Model(inputSz, outputSz, sess, args.nGdIter) File "icnn.back.py", line 131, in __init__ E0_ = self.f(self.x_, self.y0_) File "icnn.back.py", line 330, in f z_yu = conv(tf.mul(y_red, yu_u), nFilter, kSz, strides=strides, AttributeError: module 'tensorflow' has no attribute 'mul'
Edit: Here is a list of deprecated functions and their updated variants (for tf >= 1.0 users):
tf.merger_all_summaries => tf.summary.merge_all
tf.histogram_summary => tf.summary.histogram
tf.scalar_summary => tf.summary.scalar
tf.mul => tf.multiply
tf.train.SummaryWriter => tf.summary.FileWriter
The text was updated successfully, but these errors were encountered:
tf.mul is now deprecated, and needs to be replaced with tf.multiply.
Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior. Traceback (most recent call last): File "icnn.back.py", line 421, in <module> main() File "icnn.back.py", line 104, in main model = Model(inputSz, outputSz, sess, args.nGdIter) File "icnn.back.py", line 131, in __init__ E0_ = self.f(self.x_, self.y0_) File "icnn.back.py", line 330, in f z_yu = conv(tf.mul(y_red, yu_u), nFilter, kSz, strides=strides, AttributeError: module 'tensorflow' has no attribute 'mul'
Edit: Here is a list of deprecated functions and their updated variants (for tf >= 1.0 users):
The text was updated successfully, but these errors were encountered: