Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A tiny change #5

Open
ReadyH opened this issue Oct 9, 2018 · 0 comments
Open

A tiny change #5

ReadyH opened this issue Oct 9, 2018 · 0 comments

Comments

@ReadyH
Copy link

ReadyH commented Oct 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant