Closed luojing1030 closed 1 year ago
Maybe the path to the svs files contains no files. So the in create_pathces_fp.py
is reading nothing, hence giving an error of: NoneType
How did you solve this issue? I experience the same. The provided directory path does contain files in my case.
Never mind. The preset used didn't work for me, resulting in no contours. I had to provide my own preset for patching.
Thank you for your great work. when I use the parameters "--patch" in running create_patches.py or create_patches_fp.py, (i want to save the patches),there emerging the error: the error is about the wholeSlideImage.py, for create_patch_fp.py, "line 374, n_contours = len(self.contours_tissue, TypeError:object of type "NoneType has no len()" ; for create_patch.py, "line 243,contour_holes = self.holes_tissue, AttributeError:'WholeSlideImage' object has no attribute 'holes_tissue', and another error, "line 248, for idx. cont in enumerate(contours): TypeError:'NoneType' object is not iterable. could you tell me how to solve it.