Skip to content

Zero division by bbox[3] #25

@shi27feng

Description

@shi27feng

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions