Open javierfs opened 5 years ago
@javierfs Hello, i want to do the same thing. When i train my model, after each epoch the losses and val_losses are printed but i also want to show the mAP so i can have a better insight on the quality of my model. Have found a way if it's possible, and if yes can you provide me with some tips?
Hi @koukouzasg, I have made it! Please, check #1024
I am trying to show the mAP by using utils.compute_ap() function. I am trying to understand what are the graphs that are shown with TensorBoard: rpn_class_loss, rpn_bbox_loss, class_loss, bbox_loss, mask_loss.
I want to show the mAP after each epoch as the previous losses. However, I am stuck:
In models.py:
I am not sure about what is pred_scores. I believe is detections[...,5] (See Below)
However, mrcnn_mask, mrcnn_bbox, etc. are not drawn from Detection DetectionLayer() but from build_fpn_mask_graph(). I am not sure if is possible to show the mAP during training... Any ideas?