We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Line 59&60 in loss/criterion.py pred = preds[0] + preds[1] loss4 = lovasz_softmax(F.softmax(pred, dim=1), target, ignore=self.ignore_index)
pred = preds[0] + preds[1]
loss4 = lovasz_softmax(F.softmax(pred, dim=1), target, ignore=self.ignore_index)
这里的 pred 没有做upsample, 然后直接给了lovasz_softmax, 而 target 是原图的size大小,这样会造成 pred 与 target 的size 不匹配。
pred
target
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Line 59&60 in loss/criterion.py
pred = preds[0] + preds[1]
loss4 = lovasz_softmax(F.softmax(pred, dim=1), target, ignore=self.ignore_index)
这里的
pred
没有做upsample, 然后直接给了lovasz_softmax, 而target
是原图的size大小,这样会造成 pred 与 target 的size 不匹配。The text was updated successfully, but these errors were encountered: