In the code the method takes the following definition: io.masks_flows_to_seg(imgs, masks, flows,files, diams,channels) , with file names as the 4th parameter. However in the notebook example here ait states to use: io.masks_flows_to_seg(imgs, masks, flows,diams,files,channels) . This gives the error: TypeError: expected str, bytes or os.PathLike object, not numpy.float64 . It needs to be changed to match the function definition
In the code the method takes the following definition: io.masks_flows_to_seg(imgs, masks, flows,files, diams,channels) , with file names as the 4th parameter. However in the notebook example here ait states to use: io.masks_flows_to_seg(imgs, masks, flows,diams,files,channels) . This gives the error: TypeError: expected str, bytes or os.PathLike object, not numpy.float64 . It needs to be changed to match the function definition