개인공부방

  • 홈
  • 태그
  • 방명록

Linux, Pytorch, Python 3

Cudatoolkit

Install cuda toolkit first 7버전 이상에서는 override를 추가함. ./cudatoolkit.run --override Install cudnn cudnn 다운로드 할 때 -cuDNN Library for Linux- 항목을 선택해야 tgz 파일을 받을 수 있다. unzip and copy them tar -zvxf cudnn-11.5-linux-*.tg sudo cp cuda/include/cudnn*.h /usr/local/cuda/include sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64 sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcud..

Linux, Pytorch, Python 2021.11.11

Remote Workspace

Remote Port Tunneling 1. ssh connection 1-1 Remote ssh 외부 클라이언트 C ----> 중계서버 B > HOME/.ssh/authorized_keys1-2-3 login Private key는 소유주만 사용해야함. 권한변경해서 사용할 것 chmod 400 id_rsa ssh -i ~/.ssh/id_rsa USER@HOST -p PORT2. Check ssh running Count running specific process emma_check=`ps -ef | grep -v "grep" | grep "ssh -fNT -g" | wc -l` if emma_check ==0: connect ssh else: do nothing3. logging echo "text"..

Linux, Pytorch, Python 2021.11.05

Python killed

갑자기 Python Process가 죽는 경우가 있다. 아래 명령어로 확인하자. dmesg | grep -E -i -B100 'killed process'대부분 Out-of-Memory (OOM) 문제긴하다. 주의할 점 Python killed 후에는 RAM 또는 VRAM이 정리되지 않은 경우가 있으니 반드시 초기화 할것!! pkill python

Linux, Pytorch, Python/Python 2021.11.05
이전
1
다음
더보기
프로필사진

개인공부방

  • 분류 전체보기 (19)
    • Graph Action Recognition (2)
    • Object Detection (1)
    • Concepts (1)
    • 가볍게 (1)
    • Latex (0)
    • 일상용 (1)
    • 백준 알고리즘 (7)
    • Landmark Detection (3)
    • Linux, Pytorch, Python (3)
      • Python (1)

Tag

residual, Straight-through estimator, 괄호치기, Port Forwarding, GitHub, Estimator, GCN, SSH Tunneling, OOM, event camera, cron, 16637, Action, 사나, 트와이스, straight, force, 한국말, Python, ssh,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
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
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바