Open deeptig84 opened 2 years ago
how do you solve it?
Hi, I was using this repo for my work but later I switched to Mask2Former.. Let me know if it helps.
File "/ISTR/projects/ISTR/istr/util/box_ops.py", line 51, in generalized_box_iou assert (boxes1[:, 2:] >= boxes1[:, :2]).all() AssertionError
Facing the same problem
EDIT: After reducing my learning rate, the issue disappeared.
Hi @keithkctse how much did you reduce LR?
AssertionError: /ISTR/projects/ISTR/istr/util/box_ops.py in generalized_box_iou(boxes1, boxes2) 49 # degenerate boxes gives inf / nan results 50 # so do an early check ---> 51 assert (boxes1[:, 2:] >= boxes1[:, :2]).all() 52 assert (boxes2[:, 2:] >= boxes2[:, :2]).all() 53 iou, union = box_iou(boxes1, boxes2)
I am facing this issue during training and the error occurred after 1800 iterations . Could anyone assist me here.