[Python] PyTorch, TensorFlow 가상환경 생성

2022. 6. 10. 18:12·Programming/Python

 

가장 많이 사용되는 딥러닝 프레임워크인

파이토치와 텐서플로우 가상환경을 만들어보자

 


PyTorch

가상환경 생성 → 활성화

 

PyTorch 공식홈페이지 - Get Started 에서 본인에게 맞는 환경을 선택한 후

아래에 뜨는 Command를 Anaconda Prompt 

conda install pytorch torchvision torchaudio cudatoolkit=[버전] -c pytorch

 

TensorFlow

가상환경 생성 → 활성화

 

GPU 사용 시

conda install -c conda-forge tensorflow-gpu=[버전]

CPU 사용 시

conda install -c conda-forge tensorflow=[버전]

 

위 명령어를 이용하면 설정한 TensorFlow 버전에 호환되는

cudatoolkit, cudnn, tensorboard 등의 패키지가 설치된다!

저작자표시 비영리 변경금지 (새창열림)

'Programming > Python' 카테고리의 다른 글

[Anaconda] 아나콘다 설치 및 가상환경 사용법  (1) 2022.06.09
Jupyter Notebook 가상환경 연결  (0) 2022.06.09
[Anaconda] conda -c 옵션과 conda-forge  (1) 2022.05.24
[Python] pandas_profiling  (0) 2022.05.04
[Python] dictionary 자료형 get  (1) 2022.04.30
'Programming/Python' 카테고리의 다른 글
  • [Anaconda] 아나콘다 설치 및 가상환경 사용법
  • Jupyter Notebook 가상환경 연결
  • [Anaconda] conda -c 옵션과 conda-forge
  • [Python] pandas_profiling
카이로셜
카이로셜
  • 카이로셜
    카이로스의 시간
    카이로셜
  • 글쓰기 관리
  • 전체
    오늘
    어제
    • 분류 전체보기
      • Programming
        • Python
        • Linux
        • Git, Github
        • ML, Machine Learning
        • DL, Deep Learning
        • NLP
        • Computer Vision
        • Network
        • PyCharm
      • IT
        • Windows
        • Mac OS
        • Programs
        • 한글
        • Word
        • Excel
        • PowerPoint
      • Math & Statistics
      • English
      • Graduate School
      • etc.
      • Record
  • 블로그 메뉴

    • Github
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    아나콘다
    아나콘다 가상환경
    윈도우10
    도커
    맥북 단축키
    객체
    클래스
    anaconda
    윈도우11
    docker
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
카이로셜
[Python] PyTorch, TensorFlow 가상환경 생성
상단으로

티스토리툴바