You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
images = [os.path.join(image_root, f) for f in os.listdir(image_root) if f.lower().endswith(('.jpg', '.png'))]
images = sort(images)
gts = [os.path.join(gt_root, f) for f in os.listdir(gt_root) if f.lower().endswith(('.jpg', '.png'))]
gts = sort(gts)
i get this error
assert len(self.images) == len(self.gts)
It seems that if the folder contains both .jpg and .jpeg file types, it can lead to errors.
InSPyReNet/data/dataloader.py
Line 38 in 7863410
https://github.com/plemeri/InSPyReNet/blob/786341020846a220fb9e3f6fcda810b58d52b50a/data/dataloader.py#L80C13-L80C125
The text was updated successfully, but these errors were encountered: