lzx1413 / PytorchSSD

pytorch version of SSD and it's enhanced methods such as RFBSSD,FSSD and RefineDet
MIT License
709 stars 237 forks source link

run ssd error:value cannot be converted to type float without overflow: inf #65

Open vickersmith opened 5 years ago

vickersmith commented 5 years ago

i can successfully run the RFB and FSSD .but when i run the ssd ,the following error occurs.anyone knows how to deal with it? ....... 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

gittigxuy commented 5 years ago

@vickersmith ,same problem,have you solved the problem?

zxy77 commented 5 years ago

I have the same problem, I use the version of pytorch is 0.40 @lzx1413 ,how to deal with it?

cherishfive commented 5 years ago

I have the same problem, I use the version of pytorch is 0.40 @lzx1413 ,how to deal with it?

Hello, I have the same problem (when training SSD and refinedet), have you solved it? I am using torch0.3.1, if I use torch0.4.0 I will get a connection reject [111] error.