When you running this code, your Nvidia GPU is not detected
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
[]
The solution is
pip install "tensorflow[and-cuda]==2.15.1"
When you running this code, your Nvidia GPU is not detected
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
[]
The solution is
pip install "tensorflow[and-cuda]==2.15.1"