Learning Space/Machine Learning, Deep Learning

[Machine Learning] 환경구축(TensorFlow)

JONNY ALOHA 2023. 6. 14. 11:50

TensorFlow의 설치(23.06.14 기준)

공식 문서를 기준으로 작성하였다.

 

지원 버전

- Python 3.6 ~ 3.9

- Ubuntu 16.04 이상 - Windows 7 이상 - macOS 10.12.6 이상(GPU 지원 X)

 

설치과정(GPU를 이용하지 않을 경우)

pip install --upgrade pip
python3 -m pip install tensorflow
# Verify install:
python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"

 

설치버전 확인

python3
import tensorflow as tf

tf.__version__

 

 

728x90