Hello,
I am using fasterRCNN and would like to evaluate my model by checking the loss, IoU, and accuracy.
When the model is on train() mode, it returns only the loss, and when on eval() mode it returns only the predictions (relevant for calculating accuracy and IoU).
I have seen few posts about it in this forum, but none have found a solution.
How can I return from the model both loss and predictions during evaluation?
Thank you