MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / imsave

Function imsave

GAN/Self_attention_GAN_tensorflow/utils.py:109–111  ·  view source on GitHub ↗
(images, size, path)

Source from the content-addressed store, hash-verified

107 raise ValueError('in merge(images,size) images parameter ''must have dimensions: HxW or HxWx3 or HxWx4')
108
109def imsave(images, size, path):
110 # image = np.squeeze(merge(images, size)) # 채널이 1인거 제거 ?
111 return scipy.misc.imsave(path, merge(images, size))
112
113
114def inverse_transform(images):

Callers 1

save_imagesFunction · 0.70

Calls 1

mergeFunction · 0.70

Tested by

no test coverage detected