UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The

Tensorflow错误: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15.
  warn("The default mode, 'constant', will be changed to 'reflect' in " Traceback (most recent call last):


解决方法:将transform.resize(ima, (IMG_SIZE, IMG_SIZE))改为

                    transform.resize(ima, (IMG_SIZE, IMG_SIZE), mode='constant')改为

                    或者将resize(ima, (IMG_SIZE, IMG_SIZE))改为

                    resize(ima, (IMG_SIZE, IMG_SIZE), mode='constant')

你可能感兴趣的:(增强学习,Tensorflow)