MCPcopy
hub / github.com/NVlabs/SPADE / is_image_file

Function is_image_file

data/image_folder.py:22–23  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

20
21
22def is_image_file(filename):
23 return any(filename.endswith(extension) for extension in IMG_EXTENSIONS)
24
25
26def make_dataset_rec(dir, images):

Callers 2

make_dataset_recFunction · 0.85
make_datasetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected