- AttributeError: module ‘tensorflow’ has no attribute ‘image_summary’

解决方法:将tf.image_summary(‘images’, images)改成tf.summary.image(‘images’, images)即可。 - cifar10_input.py : ValueError: Dimensions must be equal, but are 3 and 2 for ‘random_crop/GreaterEqual’ (op: ‘GreaterEqual’) with input shapes: [3], [2].

解决方法:将distorted_image = tf.image.random_crop(reshaped_image, [height, width])改成distorted_image = tf.image.random_crop(reshaped_image, [height, width, 3])即可。 - cifar10_input.py : AttributeError: module ‘tensorflow._api.v1.image’ has no attribute ‘per_image_whitening’
解决方法:将float_image = tf.image.per_image_whitening(distorted_image)改成floa
在运行cifar10所遇到的问题
最新推荐文章于 2023-10-24 11:49:45 发布

最低0.47元/天 解锁文章
1538

被折叠的 条评论
为什么被折叠?



