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
In datasets.py line 351: "label = sample['label'].reshape([-1, 4, 2])", should be changed to "label = np.array(sample['label']['coor']).reshape([-1, 4, 2])".
Because sample['label'] is dict type, and it only need coordinates to draw the contours.
The text was updated successfully, but these errors were encountered:
In datasets.py line 351: "label = sample['label'].reshape([-1, 4, 2])", should be changed to "label = np.array(sample['label']['coor']).reshape([-1, 4, 2])".
Because sample['label'] is dict type, and it only need coordinates to draw the contours.
The text was updated successfully, but these errors were encountered: