'분류 전체보기' 카테고리의 글 목록 (42 Page) — 뚝딱이

분류 전체보기

ERROR

[CUDA] cuda : Depends: cuda-11-7 (>= 11.7.1) but it is not going to be installed

https://askubuntu.com/questions/1280205/problem-while-installing-cuda-toolkit-in-ubuntu-18-04 Problem while installing cuda toolkit in ubuntu 18.04 After following all the instructions in CUDA Toolkit 11.1 Downloads, the last instruction sudo apt-get -y install cuda doesn't work for me. Terminal shows this message: The following packages have... askubuntu.com sudo apt clean sudo apt update sudo ..

Ubuntu

[Nvidia] Ubuntu CUDA 10.2 설치

https://developer.nvidia.com/cuda-toolkit-archive CUDA Toolkit Archive Previous releases of the CUDA Toolkit, GPU Computing SDK, documentation and developer drivers can be found using the links below. Please select the release you want from the list below, and be sure to check www.nvidia.com/drivers for more recent production developer.nvidia.com 기존의 CUDA 삭제 후 reboot 하고 할 것! 자신이 원하는 버전에 자신에 맞는 설..

Ubuntu

[Nvidia] Nvidia driver 설치

Nvidia driver OS 에서 GPU를 읽을 수 있게 도와줌 GPU 확인 $ sudo lshw -C display 사용 가능한 driver $ ubuntu-drivers devices 내가 설치하려는 것을 지원하는지 보고 설치한다 $ apt-cache search nvidia | grep nvidia-driver-460 $ sudo apt-get install nvidia-driver-460 reboot

Ubuntu

[Nvidia] Nvidia CUDA 완전 제거

Nvidia Driver 제거 $ sudo apt-get purge nvidia* $ sudo apt-get autoremove $ sudo apt-get autoclean CUDA 제거 $ sudo rm -rf /usr/local/cuda* $ sudo apt-get --purge remove 'cuda*' $ sudo apt-get autoremove --purge 'cuda*' 확인 $ sudo dpkg -l | grep nvidia $ sudo dpkg -l | grep cuda 남아있다면 제거 sudp apt-get remove --purge

Ubuntu

[Docker] Nvidia-docker 설치하기

Container에서 Host OS의 GPU를 사용할 수 없음 이를 사용하기 위해 Nvidia-docker를 설치하는 것임 Docker, Nvidia, GPU가 모두 설치되거나 있는 상태에서 환경 세팅을 할 수 있음 (nvidia-smi를 쳐서 확인해보자) 1. 기존의 nvidia-docker가 있다면 삭제하고 다시 깐다 $ docker volume ls -q -f driver=nvidia-docker | xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f $ sudo apt-get purge -y nvidia-docker 2. 레파지토리에 추가한다 $ curl -s -L https://nvidia.github.io/nvidia-..

Vision

[CNN] 3D CNN (convolution Neural Network)

Convolutions on RBG images Struction detail All of channels의 vertical information이 궁금하면 RGB filler를 전부 R처럼 바꿔주면됨 필요에 맞게 filter custom filter가 2개 이상일 때 Summary 여러개의 특성을 뽑을 수 있고 그 특성의 개수만큼 채널을 가지게 된다 + Bias, Activaion Function + 기호 Parameter 이미지의 크기가 크던 작던 변수(parameter)의 수는 고정되어 있음 고정된 변수로 여러가지 속성을 검출할 수 있음 이로 인해 과대적합을 방지하게 됨 (CNN의 성질) 정리 https://www.youtube.com/c/Deeplearningai DeepLearningAI Wel..

ERROR

[error] NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

nvidia GPU에 문제가 생겼기 때문에 재설치 해야함 일단 nvidia 드라이버 버전을 확인함 apt --installed list | grep nvidia-driver #결과 nvidia-driver-470/bionic-updates,bionic-security,bionic,now 470.141.03-0ubuntu0.18.04.1 amd64 [installed] Nvidia driver 제거 sudo apt remove --autoremove nvidia-* sudo apt remove --autoremove nvidia-cuda-toolkit sudo apt autoremove Nvidia driver 설치 현재 GPU 확인 lshw -C display 권장 driver설치 sudo ubuntu-..

ERROR

[Ubuntu] 아카이브를 받을 수 없습니다. 아마도 apt-get update를 실행해야 하거나 --fix-missing 옵션을 줘서 실행해야 할 것입니다.

ubuntu를 한글로 변경하면 패키지 다운로드 서버가 자동으로 변경됨(http://kr.archive.ubuntu.com/ubuntu/) 변경된 서버에 속도 이슈, 패키지 설치 에러 등이 있음 기본 패키지 서버를 변경해야함 변경하기 sudo vi /etc/apt/sources.list sources.list로 들어간다 그 후 ' : '를 입력하여 명령 모드로 변경한다 %s/kr.archive.ubuntu.com/ftp.daumkakao.com 아래이 코드 입력하면 14 substitutions on 14 lines라는 글이 뜸 ' :wq ' 를 하여 나가준다 update하고 끝낸다 sudo apt-get update; sudo apt-get upgrade -y