Closed xuchunyu123 closed 2 years ago
Hi @xuchunyu123, I have never personally encountered this error but I would generally assert that you have the proper TF, CUDA, and CuDNN versions.
The exact configuration of CUDA depends on your system. Here are some resources to guide you through the setup https://www.tensorflow.org/install/gpu and https://www.tensorflow.org/install/source#gpu. Also keep in mind that Orion is currently using tensorflow 1. My personal setup is to have tensorflow==1.14 and tensorflow-gpu==1.14 with CUDA 10.0.
If you still have errors, please share the code snippet you used such that I can try to reproduce this! Hope this helps!
Description
Module Not Found Error: No module named ‘tensorflow.contrib
What I Did
This error is located to cudnn_recurrent.py this file before:from tensorflow .contrib.cudnn_rnn.python.ops import cudnn_rnn_ops self._cudnn_lstm= cudnn_rnn_ops.CuDNNLSTM after: import tensorflow as tf self._cudnn_lstm=tf.compat.v1.keras.layers.CuDNNLSTM
I would be very grateful if you could help me