hyperseg icon indicating copy to clipboard operation
hyperseg copied to clipboard

Assertion `t >= 0 && t < n_classes` failed.

Open xings-sdnu opened this issue 2 years ago • 3 comments

Sorry to bother you, I have encontered a probelm: Assertion t >= 0 && t < n_classes failed when I try to use your model to my datasets, I have changed the num_class in my datasets, but I still face the problem, can u help me? here is my change: self.classes = list(range(2)) self.image_classes = calc_classes_per_image(self.masks, 2, cache_file)

xings-sdnu avatar Oct 31 '22 02:10 xings-sdnu