MCPcopy Create free account
hub / github.com/TencentARC/MotionCtrl / load_npz_from_paths

Function load_npz_from_paths

utils/utils.py:54–57  ·  view source on GitHub ↗
(data_paths)

Source from the content-addressed store, hash-verified

52
53
54def load_npz_from_paths(data_paths):
55 data = [np.load(data_path)['arr_0'] for data_path in data_paths]
56 data = np.concatenate(data, axis=0)
57 return data
58
59
60def resize_numpy_image(image, max_resolution=512 * 512, resize_short_edge=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected