Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
34
from
glob
import
glob
Callers
2
crop_and_resave
Function · 0.85
downsample_image
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected