paddleseq运行报错dynamic library (cudnn64_8.dll) that Paddle depends on is not configured correctly.

RuntimeError: (PreconditionNotMet) The third-party dynamic library (cudnn64_8.dll) that Paddle depends on is not configured correctly. (error code is 126)
  Suggestions:
  1. Check if the third-party dynamic library (e.g. CUDA, CUDNN) is installed correctly and its version is matched with paddlepaddle you installed.
  2. Configure third-party dynamic library environment variables as follows:
  - Linux: set LD_LIBRARY_PATH by `export LD_LIBRARY_PATH=...`
  - Windows: set PATH by `set PATH=XXX; (at ..\paddle\phi\backends\dynload\dynamic_loader.cc:312)

解决办法

下载cudnn64_8.dll

放到cuda对应路径的bin文件夹里(下面这个是我的路径,你的也许不一样,不要照搬

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin

参考资料