MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / imresize

Function imresize

unsupervised_class3/util.py:28–31  ·  view source on GitHub ↗
(arr, sz)

Source from the content-addressed store, hash-verified

26 im.save(fn)
27
28 def imresize(arr, sz):
29 im = Image.fromarray(arr)
30 im.resize(sz)
31 return np.array(im)
32
33
34from glob import glob

Callers 2

crop_and_resaveFunction · 0.85
downsample_imageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected