clap0107
[Tensorflow] M1 Mac Tensorflow 설치 본문
반응형
아나콘다 실행
conda activate '가상환경 이름'
Pip 업데이트
pip install --upgrade pip
Tensorflow 설치
conda install -c apple tensorflow-deps
pip install tensorflow-macos
pip install tensorflow-metal
Numpy 업데이트
pip install --upgrade numpy
Tensorflow 설치 및 버전 확인
python3
import tensorflow as tf
tf.__version__
GPU 가속 가능 여부 확인
tf.config.list_physical_devices('GPU')
반응형
Comments