标签:margin ref histogram elf size res nbsp lob mic
1、AttributeError: ‘module‘ object has noattribute ‘random_crop‘
解决方案:
将distorted_image= tf.image.random_crop(reshaped_image, [height, width])改为:
distorted_image = tf.random_crop(reshaped_image,[height, width,3])
2、AttributeError: ‘module’ object has no attribute’per_image_whitening’
‘per_image_whitening 改为:’per_image_standardization
3、‘module‘ object has no attribute ‘image_summary‘ ---->Please switch to tf.summary.image
4、AttributeError: ‘module‘ object has no attribute ‘histogram_summary‘
AttributeError: ‘module‘ object has no attribute ‘histogram_summary‘
>> tf.scalar_summary 改为:tf.summary.scalar
6、AttributeError: ‘module‘ object has no attribute ‘mul‘
According to the tensorflow 1.0.0 release notes,
tf.mul
,tf.sub
andtf.neg
are deprecated in favor oftf.multiply
,tf.subtract
andtf.negative
.
标签:margin ref histogram elf size res nbsp lob mic
原文地址:http://www.cnblogs.com/YouXiangLiThon/p/7240108.html