pose-residual-network-pytorch icon indicating copy to clipboard operation
pose-residual-network-pytorch copied to clipboard

Zero division by bbox[3]

Open shi27feng opened this issue 5 years ago • 0 comments

Hi, I got a zero division error during the training, I'm wondering when a bbox[3] has a zero value? Please help to solve this issue, thanks a lot!


index created! 14%|██████████████████▊ | 9072/64115 [11:40<52:52, 17.35it/s]Traceback (most recent call last): File "train.py", line 81, in main(option) File "train.py", line 68, in main Evaluation(model, opt) File "~/pose_residual_network.pytorch/src/eval.py", line 221, in Evaluation y_scale = float(h) / math.ceil(b[3]) ZeroDivisionError: float division by zero 14%|██████████████████▌ | 9072/64115 [11:40<1:10:52, 12.95it/s]

shi27feng avatar Oct 17 '19 00:10 shi27feng