[plaidml] 딥러닝 위해 맥북에서 GPU 사용하기(Deep Learning using GPU on your MacBook) -[1 .설치]

2020. 7. 14. 10:59DL

728x90
반응형

맥북 그래픽 카드 사양이 라데온 이상이 아니라면 설치하지말자.

가상 환경에 설치했다.

가상 환경이 없다면 

python3 -m venv plaidml-venv    # plaidml-venv 이름의 가상환경 만들기
source plaidml-venv/bin/activate    # plaidml-venv 들어가기

plaidml-keras 설치

pip install -U plaidml-keras

성공적으로 설치 됐다면

plaidml-setup

1.  experimental device support 사용 여부 

실험적이므로 성능 저하나 오류를 일으킬 수 있으니 n 

2. GPU CPU 선택

intel iris 그래픽 실험해보기 위하므로 2

 

3. 세팅 저장 y 또는 n

y 선택했다

완료

 

더 많은 정보는 github에 있다.

 

plaidml/plaidml

PlaidML is a framework for making deep learning work everywhere. - plaidml/plaidml

github.com

 

반응형