STUDY

텐서플로우 리눅스에서 설치하기

디리릭 2023. 8. 16. 23:20
728x90

 

 

가상 환경을 만들어주고 (버전이랑 패키지 관리 가능하기 때문) 가상 환경을 activate 해준다. 

python3 -m venv ./study_tensorflow
source study_tensorflow/bin/activate

 

그리고 tensorflow를 설치해 준다. 

pip install nvidia-cudnn-cu11==8.6.0.163 tensorflow==2.13.*

또는

# Requires the latest pip
pip install --upgrade pip

# Current stable release for CPU and GPU
pip install tensorflow

# Or try the preview build (unstable)
pip install tf-nightly

 

그리고 나는 jupyter lab으로 추가로 설치해줬다. 

pip install jupyterlab

jupyter lab 실행은 아래와 같다. 

jupyter lab

 

 

 

간단하게 실행해보자

 

출처)

https://www.tensorflow.org/install/pip?hl=ko 

 

pip로 TensorFlow 설치

Try out Google’s large language models using the PaLM API and MakerSuiteExplore Generative AI 이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English pip로 TensorFlow 설치 컬렉션을 사용해 정리하기 내 환

www.tensorflow.org

https://heekangpark.github.io/etc/jupyter-lab

728x90

'STUDY' 카테고리의 다른 글

[Kotlin] string에서 사용할 수 있는 기본 함수  (1) 2024.04.22