I have actually already enabled Anomaly Detection. I receive the following errors:

sys:1: RuntimeWarning: Traceback of forward call that caused the error:
File “demo.py”, line 341, in 
outputs = vgg16(inputs)
File “/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py”, line 493, in call
result = self.forward(*input, **kwargs)
File “demo.py”, line 264, in forward
x = self.features(x)
File “/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py”, line 493, in call
result = self.forward(*input, **kwargs)
File “/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/container.py”, line 92, in forward
input = module(input)
File “/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py”, line 493, in call
result = self.forward(*input, **kwargs)
File “/opt/anaconda3/lib/python3.7/site-packages/torch/nn/modules/conv.py”, line 338, in forward
self.padding, self.dilation, self.groups)


Traceback (most recent call last):
File “demo.py”, line 345, in 
loss.backward()
File “/opt/anaconda3/lib/python3.7/site-packages/torch/tensor.py”, line 107, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File “/opt/anaconda3/lib/python3.7/site-packages/torch/autograd/init.py”, line 93, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: Function ‘CudnnConvolutionBackward’ returned nan values in its 0th output.