LGI4temporalgrounding
LGI4temporalgrounding copied to clipboard
in compute_tiou return float(intersection) / union ZeroDivisionError: float division by zero
The data at this time is: pred[0]=35.27944378733635 pred[1]=33.94881270647049 gt[0]=34.77 gt[1]=34.77
hi, i meet this issue too, do you know how to fix it ? the log is as followings:
File "/data1/chentongbao/single_moment_retrieval/LGI4temporalgrounding/src/utils/eval_utils.py", line 57, in eval_instance cur_tiou = compute_tiou(loc, gt) File "/data1/chentongbao/single_moment_retrieval/LGI4temporalgrounding/src/utils/eval_utils.py", line 7, in compute_tiou return float(intersection) / union ZeroDivisionError: float division by zero Visualization of LGI is saved in results/anet/tgn_lgi/LGI/qualitative/Train/epoch061_qrn.png Write json file in results/anet/tgn_lgi/LGI/predictions/Train/epoch061.json pred: [[0.3757 0.946 ]] gt: [0.315 1. ] tIoU: 0.8325
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。