In the following examples, the file paths in green are valid while the ones in red are invalid.
-
Supported Numpy folder path format:
xx/numpy_folder_path/
../numpy_folder_path/1/
../numpy_folder_path/2/
../numpy_folder_path/*.npy
-
Unsupported Numpy path format
-
Non sequential double nesting
../numpy_folder_path/
../numpy_folder_path/slice_1/
../numpy_folder_path/2/
../numpy_folder_path/*.npy
-
The folder contains other data types
../numpy_folder_path/
../numpy_folder_path/slice_1/
../numpy_folder_path/2/
../numpy_folder_path/2/*.npy