
1. nvidia-smi 2. nvcc --version CUDA는 2개의 API를 가지고 있는데, 하나는 runtime API이고 다른 하나는 driver API이다. 각 API가 각자의 version을 가지고 있다. 1. nvidia-smi 의 CUDA는 runtime API를 나타내며, GPU 드라이버에 의해 설치된다. 2. nvcc의 CUDA는 CUDA toolkit에 의해 설치된다. 설치한 CUDA 버전을 확인하는건 2. nvcc --version 명령어가 옳다. 근데 여기서, 분명히 conda에 다른 버전의 cudatoolkit을 설치했는데, nvcc --version을 할 시 이전 cuda 버전이 계속 나온다? 'nvcc --version is not working in anaconda pr..

이유를 알 수 없다.. 차라리 명확한 에러가 났으면 좋겠다.. 정말 끔찍하다... 디버깅과 테스트를 거치면서 여러 해결 방안을 찾을때마다 모아두려고 한다.. 해결 될수도, 안될수도... ㅠㅠ · RuntimeError: CUDA out of memory GPU 메모리가 부족해서 생기는 에러. $ nvidia-smi -l 1 을 통해 모델을 돌릴 때 실시간으로 GPU 메모리가 어떻게 변하는지 확인해보고 배치 사이즈를 줄이던지 등의 해결을 봐야한다. · cuDNN error: CUDNN_status_mapping_error torch.backends.cudnn.enabled = False 위 코드를 추가해주었을 때, 해결이 되었다는 의견이 다수 있었다. · cuDNN error: CUDNN_STATUS_EX..
locale.Error: unsupported locale setting Locale 설정이 제대로 되어있지 않아서 생기는 에러, 해결 방법은 간단하다. * locale.Error: unsupported locale setting 에러 해결 방법 ------------------------------------------------------------- (설정은 아래 두 방법을 해보면 아마 대부분 해결 될 것이다) 1) C는 default Language로 설정하는 방법 $ export LC_ALL=C 2) 1)로 해결이 안될 때, 직접 설정해준다. $ export LC_ALL="en_US.UTF-8" $ export LC_CTYPE="en_US.UTF-8" $ sudo dpkg-reconfigure ..

- git LFS 설치 최신버전의 git-lfs https://github.com/git-lfs/git-lfs/releases git-lfs/git-lfs Git extension for versioning large files. Contribute to git-lfs/git-lfs development by creating an account on GitHub. github.com 선택해서 그냥 다운받아도 되고 gui가 없는 서버의 경우 링크를 복사해서 확인한 후 아래와 같이 wget 명령어로 다운 받는다. $ wget https://github.com/git-lfs/git-lfs/releases/download/v2.10.0/git-lfs-linux-386-v2.10.0.tar.gz 압축 풀고 $ t..

100mb 이상의 파일을 디렉토리에 둔 채로 add를 하면 에러가 나면서 add를 못하게 되고, 파일을 지우고 다시 add commit 해도 해결되지 않아 취소가 불가피한 상황이 오게 된다. 100mb 이상의 파일을 git에 올리기 위해서는 Git LFS를 쓰면 된다. https://nuggy875.tistory.com/76 Git LFS를 사용하여 100mb 넘는 파일 git에 업로드하기 최신버전의 git-lfs https://github.com/git-lfs/git-lfs/releases git-lfs/git-lfs Git extension for versioning large files. Contribute to git-lfs/git-lfs development by creating an accou..
웹 상으로 VS Code 띄워 어디서든 코딩할 수 있도록 하는 훌륭한 repository가 있다. https://github.com/cdr/code-server 1) 설치 https://github.com/cdr/code-server/releases 바이너리 파일 다운 받아 압축 해제 혹은 위 깃헙 repository에서 버전 확인 후 아래와 같이 다운 $ wget https://github.com/cdr/code-server/releases/download/2.1692-vsc1.39.2/code-server2.1692-vsc1.39.2-linux-x86_64.tar.gz ex) $ tar -xvf code-server2.1692-vsc1.39.2-linux-x86_64.tar.gz $ cd code-s..

1. 터미널에서 도커 컨테이너 실행 (-v 옵션으로 공유 디렉토리를 설정해 놓으면 로컬폴더에 연결 가능하다!) https://nuggy875.tistory.com/49 Docker run 옵션 정리 docker run 명령어 $ docker run [Options] [Image] [Command] [Options] -it -i : interactive, -t ; tty 이 옵션을 줘야 컨테이너 안에서 터미널 실행 가능 -p [호스트의 포트:컨테이너 포트] -p 8888:8888 도커.. nuggy875.tistory.com 2. VSCode Extention인 'Remote Development' 설치 3. VSCode에서 Ctrl + Shift + p 누르고 'Remote-Containers: Atta..
- Total
- Today
- Yesterday
- Object Detection
- SSH
- java
- git
- GaussianSplatting
- error
- Python
- nerf
- 3Dvision
- Macbook
- 2-stage Detector
- Neural Radiance Field
- Machine Learning
- Computer Vision
- Android
- Deep Learning
- nginx
- ubuntu
- Novel View Synthesis
- MySQL
- numpy
- Docker
- vscode
- 우분투
- pytorch
- CUDA
- Anaconda
- MacOS
- GPU
- nvidia
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |