Coding

tf certificate 가상환경

linguana 2021. 3. 30. 14:28
conda env list

*base에 있는 거 확인


conda create -n tf_cert python=3.8.0

conda env list에서 가상환경 만들어진 거 확인

더보기
conda env remove -n tf_cert

삭제하는 방법


activate tf_cert
nvcc --version
더보기

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Thu_Jun_11_22:26:48_Pacific_Daylight_Time_2020
Cuda compilation tools, release 11.0, V11.0.194
Build cuda_11.0_bu.relgpu_drvr445TC445_37.28540450_0

위처럼 cuda 11.0인 거 확인 (※ 11.0 버전이 아니라면 시스템 환경변수 설정에서 조정)


nvidia-smi
더보기

Tue Mar 30 14:25:12 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.89       Driver Version: 460.89       CUDA Version: 11.2     |

(밑은 생략)

그래픽 드라이버 확인 (위 경우는 460.89)


pip install tensorflow-gpu==2.4.1
더보기

Collecting tensorflow-gpu==2.4.1

(다운로드... 맨 하단으로...)

cudart64_110.dll

cudart64_110.dll 나오면 쿠다 11.0버전이라는 것이고 잘 다운로드 된 것

나는 뭔가 문제 있어서 pip install tensorflow --no-cache-dir 실행해봄

 

requirement.txt 로 다운로드 하는 방법

더보기
pip install -r /path/to/requirements.txt

 

pip install scikit-learn

www.tensorflow.org/certificate

 

TensorFlow 개발자 인증서를 받으세요 - TensorFlow

TensorFlow 인증 프로그램을 통과함으로써 TensorFlow를 활용하여 딥러닝 및 머신러닝(ML) 문제를 해결할 수 있는 능력을 입증하세요.

www.tensorflow.org

시험 시작 (Begin Exam) > 구매 (Purchase)

 

참고: 인터넷 속도 확인 (KT ip)

ping -t 168.126.63.1