davidtvs / PyTorch-ENet

PyTorch implementation of ENet
MIT License
383 stars 129 forks source link

generates iou greater than 1 looks like a wrong formulation! #51

Closed seyeeet closed 3 years ago

seyeeet commented 3 years ago

For some weird reason I can get IoU greater than 1, which does not make scene. what can be possible reason for that?

digging more into the code I guess we can see in here that we we do self.conf_metric.value() it wont be equal to the number of pixels. so I guess there is something is wrong in the computation process.