-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi, I tried to run your code and encountered an error in function edges_eval_img(): TypeError: 'int' object is not subscriptable. I looked into it and found this line hard to understand:
gt = [g.item()[1] for g in loadmat(gt)["groundTruth"][0]] # 0: Segmentation, 1: Boundaries
as I understand it, "loadmat(gt)["groundTruth"]" altogether should be a 2-D numpy array for a ground truth image, but in that case g.item()[1] makes no sense. So what is the right data format of gt?
Metadata
Metadata
Assignees
Labels
No labels