runtime error: CUDNN_STATUS_MAPPING_ERROR
HIWFSS opened this issue · comments
HIWFS commented
When I execute “prediction = F.sigmoid(model(input_img)).data[0].cpu().numpy()” is reporting error “runtime error: CUDNN_STATUS_MAPPING_ERROR”,what should I do ? thank you very much!
Saransh Karira commented
its using PyTorch 0.4, try instead:
prediction = torch.sigmoid(model(input_img)).item()