Hi @albanD,
Anomaly mode:<torch.autograd.anomaly_mode.set_detect_anomaly object at 0x7eff1bdba390>
loss_val tensor(0.2113, device=‘cuda:0’, grad_fn=DivBackward0)
/opt/conda/conda-bld/pytorch_1573049304260/work/torch/csrc/autograd/python_anomaly_mode.cpp:40: UserWarning: No forward pass information available. Enable detect anomaly during forward pass for more information.
I don’t understand just why this error.
loss_val:tensor(0.2113, device=‘cuda:0’, grad_fn=DivBackward0)
loss_val.backward() did’nt work
thanks,