Search

04.(211201)AI를 돌릴때 GPU 활용하고 있는지 체크하는 파이썬 코드

from tensorflow.python.client import device_lib device_lib.list_local_devices()
Python
복사
예시화면

안녕하세요

한국전자기술연구원 김영광입니다.
관련 기술 문의와 R&D 공동 연구 사업 관련 문의는 “glory@keti.re.kr”로 연락 부탁드립니다.

Hello

I'm Yeonggwang Kim from the Korea Electronics Research Institute.
For technical and business inquiries, please contact me at “glory@keti.re.kr”