HRNet-Semantic-Segmentation icon indicating copy to clipboard operation
HRNet-Semantic-Segmentation copied to clipboard

How to deal with the error: RuntimeError: value cannot be converted to type float without overflow: (0.000353832,-0.000114967)

Open zjjJacinthe opened this issue 3 years ago • 1 comments

optimizer.step()

File "/opt/conda/lib/python3.6/site-packages/torch/autograd/grad_mode.py", line 26, in decorate_context return func(*args, **kwargs) File "/opt/conda/lib/python3.6/site-packages/torch/optim/sgd.py", line 112, in step p.add_(d_p, alpha=-group['lr']) RuntimeError: value cannot be converted to type float without overflow: (0.000353832,-0.000114967)

zjjJacinthe avatar Jun 09 '21 12:06 zjjJacinthe

I met the same problem. Have you solved it?

FoilHao avatar Jun 09 '22 08:06 FoilHao