Tencent / NeuralNLP-NeuralClassifier

An Open-source Neural Hierarchical Multi-label Text Classification Toolkit
Other
1.85k stars 406 forks source link

"RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM" #8

Closed missrainbow91 closed 5 years ago

missrainbow91 commented 5 years ago

The Error "RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM" occured, can u explain how to fix it?

coderbyr commented 5 years ago

please provide more details about your problem

missrainbow91 commented 5 years ago

The error occured when I run the code "python train.py conf/train.json". At the first, I install the pytorch through "conda install pytorch", but the error "Torch not compiled with CUDA enabled" happened. So I use "conda install pytorch torchvision cudatoolkit=9.0 -c pytorch" to install pytorch with cuda, then the error "RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM" occured. I have try to solve it through many methods, but I failed. Hope you can solve my problem, thank you so much!

missrainbow91 commented 5 years ago

I have solve the problems through uninstall pytorch and all the things I installed, and then install pytorch in "pytorch.org", and choose the version compitible with my system. So I guess the problem is because the pytorch I installed is not compitible with my system.

coderbyr commented 5 years ago

ok, keeps reminding us if you have any problem with NeuralClassifier