Remap values folder
- operators.val.remap_values_folder(client, folder_values_in='/folder_values_in', folder_values_out='/folder_values_out', map_in='1,2,3,4', map_out='3,1,2,2', dtype_in='int32', dtype_out='int32', unmapped='0', worker_instance_type='x2large', manager_instance_type='small', extension_file_values_in='.npy', extension_file_values_out='.npy', skip_existing_files=False)
- remap_values_folder(client,folder_values_in=’/folder_values_in’,folder_values_out=’/folder_values_out’,map_in=’1,2,3,4’,map_out=’3,1,2,2’,dtype_in=’int32’,dtype_out=’int32’,unmapped=’0’,worker_instance_type=’x2large’,manager_instance_type=”small”,extension_folder_values_in=”.npy”,extension_folder_values_out=”.npy”,skip_existing_files = False )
- Parameters:
map_in – map in
map_out – map out
dtype_in – data type input
dtype_out – data type output
unmapped – default value for values where no mapping exists
folder_values_in – input folder [.txt, .labels or .npy]
folder_values_out – output folder [.txt, .labels or .npy]
worker_instance_type – cloud instance type of worker nodes
manager_instance_type – cloud instance type of manager node
extension_folder_values_in – File extension of files in folder for folder_values_in
extension_folder_values_out – File extension of files in folder for folder_values_out
skip_existing_files – skip files that already exist in the output folder