Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Preparing the PC for TensorflowSetting up a virtual Python environment | ||||||||
Line: 41 to 41 | ||||||||
TensorFlow relies on the cuda toolkit![]() | ||||||||
Changed: | ||||||||
< < | https://medium.com/@juancrrn/installing-cuda-and-cudnn-in-ubuntu-20-04-for-deep-learning-dad8841714d6![]() | |||||||
> > | https://medium.com/@juancrrn/installing-cuda-and-cudnn-in-ubuntu-20-04-for-deep-learning-dad8841714d6![]() ![]() | |||||||
The script testGPU.py below shows the number of GPUs that TensorFlow has fouind:
#!/home/uli/.virtualenvs/AI/bin/python import tensorflow as tf print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU'))) |