Semantic Segmentation: RuntimeError: CUDNN_STATUS_INTERNAL_ERROR

/home/amittel/Desktop/pytorch-semantic-segmentation-master/utils/ UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
return self.nll_loss(F.log_softmax(inputs), targets)
Traceback (most recent call last):
File “”, line 227, in
File “”, line 97, in main
train(train_loader, net, criterion, optimizer, epoch, train_args)
File “”, line 122, in train
File “/home/amittel/anaconda2/envs/pytorch_sem/lib/python3.6/site-packages/torch/autograd/”, line 167, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph, retain_variables)
File “/home/amittel/anaconda2/envs/pytorch_sem/lib/python3.6/site-packages/torch/autograd/”, line 99, in backward
variables, grad_variables, retain_graph)

I have tried this solution, but it hasn’t worked so far.