Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime error: CUDNN_STATUS_MAPPING_ERROR #9

Open
HIWFSS opened this issue Aug 24, 2018 · 1 comment
Open

runtime error: CUDNN_STATUS_MAPPING_ERROR #9

HIWFSS opened this issue Aug 24, 2018 · 1 comment

Comments

@HIWFSS
Copy link

HIWFSS commented Aug 24, 2018

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!

@saranshkarira
Copy link

its using PyTorch 0.4, try instead:
prediction = torch.sigmoid(model(input_img)).item()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants