Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 깃허브
- 비동기모듈
- git
- Github
- TensorFlow
- REST_API
- AI #RNN #LSTM #LSTMP #인공지능 #언어학습 #순차학습
- pandas #ewma #python #지수이동가중평균 #파이썬 #판다스 #ema #ewm
- mnist
- AI #Inductive_Bias #Relational_inductive_bias
- fashionmnist
- pandas #python #excel #판다스 #파이썬 #엑셀저장 #xlsxwriter
- Python
- python #pandas #data_preprocessing #data_process
- SQL #python #MySQL #PostgreSQL
- 시계열데이터
- MachineLearning
- pandas #python #date #datetime
- ngrok
- Asyncio
- 깃
- 특정값지우기
- 판다스 #Pandas #DataFrame #Statistics #통계 #파이썬 #Python #Resample
- SQL #PostgreSQL
- tf.where
- aiohttp
- version_error
- tensorflow #tensorflow-gpu #python #ubuntu #텐서플로우
- 파이썬
- 선형회귀
Archives
- Today
- Total
린스토리
[Ubuntu 18.04] Tensorflow==2.5.0 설치하기 본문
ubuntu 18.04의 anaconda 환경에서 tensorflow 설치하는 법을 알아보자..!
생각보다 매우매우 간단하다.
우선, 본인 컴퓨터에 설치되어있는 패키지들의 버전을 확인하자.
1. 가용가능한 GPU 확인
lspci | grep -i VGA
2. Python version 확인
만약 conda 환경에서 확인한다면, conda activate을 해준 후 파이썬 버전을 확인해준다.
python --version

3. 설치된 Cuda version 확인
nvcc -V

4. Tensorflow version 찾기
https://www.tensorflow.org/install/source#tested_build_configurations
소스에서 빌드 | TensorFlow
소스에서 빌드 소스에서 TensorFlow pip 패키지를 빌드하고 Ubuntu Linux 및 macOS에 설치합니다. 명령어는 다른 시스템에도 적용될 수 있지만, Ubuntu 및 macOS용으로만 테스트되었으며 지원됩니다.참고: 잘
www.tensorflow.org
여기에서 내 python 버전과 cuda 버전에 맞는 tensorflow 버전을 찾는다.

5. Tensorflow 설치
------- CPU 버전
pip install tensorflow==2.5.0
------- GPU 버전
pip install tensorflow-gpu==2.5.0
6. 설치 확인
이렇게 하면 촤라락~! 설치가 되고, tensorflow 설치를 확인하면 설치가 되었음을 볼 수 있다.

Comments