def write_image(path, image, verbose=False):
img = image[0] + MEAN_VALUES
if verbose:
print("%f - %f" % (np.min(img), np.max(img)))
img = np.clip(img, 0, 255).astype('uint8')
skimage.io.imsave(path, img)
# returns the top1 string
评论列表
文章目录