-
Notifications
You must be signed in to change notification settings - Fork 24
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
Query about Tent on semantic segmentation #21
Comments
Hi, it is similar to the classification case, except that it is calculated for every pixel. You can find an example here: |
Thank you very much for your serious answer, in the code acdc-submission\mmseg\apis\test.py of #6 in single_gpu_tent, line 227 predicts result directly as gt_semantic_seg, and I didn't find the replacement of the loss function. In acdc-submission\local_configs\segformer\B5\segformer.b5.1024x1024.acdc.160k.py the loss_decode is 'CrossEntropyLoss', in which case it just calculates the CrossEntropyLoss of two identical tensors, which I don't quite understand. |
If you are not sure, please refer to https://en.wikipedia.org/wiki/Cross_entropy |
Thank you for your answer and good luck with your research! |
The tent processing classification task requires the entropy of the predicted probability as a loss, how is this loss calculated in the segmentation task.
The text was updated successfully, but these errors were encountered: