MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / load_image_from_folder

Function load_image_from_folder

tensorlayer/files/utils.py:1243–1245  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1241 del_file(os.path.join(path, filename + '.zip'))
1242
1243 def load_image_from_folder(path):
1244 path_imgs = load_file_list(path=path, regx='\\.jpg', printable=False)
1245 return visualize.read_images(path_imgs, path=path, n_threads=10, printable=False)
1246
1247 im_train_A = load_image_from_folder(os.path.join(path, filename, "trainA"))
1248 im_train_B = load_image_from_folder(os.path.join(path, filename, "trainB"))

Callers 1

load_cyclegan_datasetFunction · 0.70

Calls 1

load_file_listFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…