You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using resnet50_4x16f_baseline.yaml and resnet101_8x8f_baseline.yaml, I have the following error as
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [2, 1024]], which is output 0 of ReluBackward0, is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
That error happened at /home/itc/anaconda3/envs/alphaction/lib/python3.7/site-packages/torch/autograd/__init__.py(156)
Using
resnet50_4x16f_baseline.yaml
andresnet101_8x8f_baseline.yaml
, I have the following error asRuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [2, 1024]], which is output 0 of ReluBackward0, is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
That error happened at
/home/itc/anaconda3/envs/alphaction/lib/python3.7/site-packages/torch/autograd/__init__.py(156)
How to solve error?
My libs are
The text was updated successfully, but these errors were encountered: