-
Notifications
You must be signed in to change notification settings - Fork 842
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
train_semseg.py labelweights[l - 1] #235
Comments
I have the same doubts, have you solved it? |
just use labelweights[l] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In line 268,
I think
labelweights[l - 1]
should belabelweights[l]
. In line 249,np.histogram(batch_label, range(NUM_CLASSES + 1))
will return an array which size is 13, although userange(NUM_CLASSES + 1)
.The text was updated successfully, but these errors were encountered: