MouseLand / cellpose

a generalist algorithm for cellular segmentation with human-in-the-loop capabilities
https://www.cellpose.org/
BSD 3-Clause "New" or "Revised" License
1.4k stars 403 forks source link

Issue with io.masks_flows_to_seg in notebook example #1059

Open VivekJohnSudhakar opened 1 week ago

VivekJohnSudhakar commented 1 week ago

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