Closed JawadTawhidi closed 10 months ago
Hi,
TMO outputs 2-channel scores during training, and those scores are converted to 1-channel output using an argmax operation during testing.
Thank you so much for your response. TMO is using standard cross entropy loss which accepts 2-channel scores, but I want to try TMO with binary cross entropy loss which expects single channel inputs. In that case can I just leave TMO as it is to generate 2-channel output, but before passing predicted scores to binary cross entropy loss change them to 1-channel output? similar the approach you have used for testing.
Yes, exactly!
Hi, is it possible to generate single channel output by TMO? as TMO currently uses standard cross entropy loss, you are generating 2 channel output, can we just change the last layer of TMO to generate single channel output? if so, then do we need to change the code of IOU after loss and also the code for J and F values inside mode=val ?