- Navigate to the directory you want in Ranger.
- Press
yp
to copy the current directory path to your clipboard. - Press
q
and typecd
, thenCtrl + Shift + V
to paste the path. - Hit Enter to go to that directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
if tf.config.list_physical_devices('GPU'): | |
print('GPU is available.') | |
else: | |
print('GPU is NOT available. Make sure TensorFlow version less than 2.11 and Installed all GPU drivers.') | |
config = tf.compat.v1.ConfigProto() | |
config.gpu_options.allow_growth = True |