...
tensorflow gpu 사용 확인
코드 블럭 |
---|
$ python3 >>> tf.test.is_gpu_available() Use ‘tfimport tensorflow as tf >>> tf.config.list_physical_devices(‘GPU’)’ instead.'GPU') [PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')] 또는 $ python3 >>> import tensorflow as tf >>> tf.test.is_gpu_availbleavailable() True |
위 결과처럼 나올 경우 GPU 사용
...