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
您好,在使用此代码进行Multicue-boundary数据集评测时,会出现IndexError:tuple index out of range 这个错误,但在BSDS500数据集中可以正常运行,二者GT都是由5人平均得来的,形式相同。
报错位置为 gt = [g.item()[1] for g in loadmat(gt)["groundTruth"][0]] # 0: Segmentation, 1: Boundaries
将g.item()[1]改成g.item()[0]后可运行代码,但结果和Matlab版不同。
请问应当如何解决?感谢您的回复。
The text was updated successfully, but these errors were encountered:
您好,在使用此代码进行Multicue-boundary数据集评测时,会出现IndexError:tuple index out of range 这个错误,但在BSDS500数据集中可以正常运行,二者GT都是由5人平均得来的,形式相同。
报错位置为
gt = [g.item()[1] for g in loadmat(gt)["groundTruth"][0]] # 0: Segmentation, 1: Boundaries
将
g.item()[1]
改成g.item()[0]
后可运行代码,但结果和Matlab版不同。请问应当如何解决?感谢您的回复。
The text was updated successfully, but these errors were encountered: