DSFD.pytorch
DSFD.pytorch copied to clipboard
RuntimeError: Value cannot be converted to type float without overflow: inf
Traceback (most recent call last):
File "train.py", line 257, in
File "/home/ubuntu/DSFD.pytorch/layers/bbox_utils.py", line 240, in log_sum_exp
return torch.log(torch.sum(torch.exp(x - x_max), 1, keepdim=True)) + x_max
RuntimeError: value cannot be converted to type float without overflow: inf
Can anyone help me fix this problem?