Fail to find the dnn implementation node CudnnRNN


tensorflow.python.framework.errors_impl.UnknownError:    Fail to find the dnn implementation.
     [[{{node CudnnRNN}}]]
     [[model/lstm/PartitionedCall]] [Op:__inference_train_function_3343]

Function call stack:
train_function -> train_function -> train_function

 

解決方法一:

 

# 設置gpu內存自增長 gpus = tf.config.experimental.list_physical_devices('GPU') print(gpus) for gpu in gpus: tf.config.experimental.set_memory_growth(gpu, True)

 

解決方法二:

 

安裝好了Anaconda3—后,運行開始菜單—>Anaconda3—>Anaconda Prompt

conda install keras


## CPU
pip3 install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple/

## GPU
pip3 install tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM