How to transform y_pred, y_true for multi-class ROC for Object Detection. #5308
Unanswered
JaninaMattes
asked this question in
code help: CV
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using Pytorch Lightning for multi-class ROC and AUC calculations for object detection with YOLOv3. As I am still quite new to Pytorch and Pytorch Lightning I got a question, concerning how to transform the y_true and y_pred tensors correctly by taking in account the IoU between the y_pred and y_true bounding boxes.
My object detection model's output (y_pred) is of the shape
(Array[N, 6]), x1, y1, x2, y2, conf, class
and the target format (y_true) is of the shape(Array[M, 5]), class, x1, y1, x2, y2
. This question also might be related to the discussion under #4988 . In order to correctly calculate ROC and AUC, how can I transform both of my tensors for y_true and y_pred?Example of my output tensor (y_pred) and target tensor (y_true).
Many thanks for your help!
Example for multi-class ROC in the documentation:
Beta Was this translation helpful? Give feedback.
All reactions