일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Docker
- C#
- ubuntu
- 프로그래머스
- 기타 연주
- 채보
- pytorch
- Linux
- pandas
- paramiko
- Visual Studio
- C++
- JSON
- OpenCV
- VS Code
- 핑거스타일
- label
- SSH
- Python
- nvidia-smi
- Selenium
- YOLO
- 컨테이너
- windows forms
- 오류
- mysql
- Numpy
- C
- error
- pip
- Today
- Total
목록CUDA (2)
기계는 거짓말하지 않는다
FFMPEG with NVIDIA GPU (Docs) Using FFmpeg with NVIDIA GPU Hardware Acceleration - NVIDIA Docs All NVIDIA® GPUs starting with Kepler generation support fully-accelerated hardware video encoding and decoding. The hardware encoder and hardware decoder are referred to as NVENC and NVDEC, respectively, in the rest of the document. The hardware capabili docs.nvidia.com 위 문서를 읽고 FFMPEG를 컴파일 하면 된다. 주의점..
import torch # torch version, gpu 사용 여부, 이름 체크 print("torch version>>", torch.__version__) print("GPU 사용 유무>>", torch.cuda.is_available()) print("GPU 이름>> ", torch.cuda.get_device_name(0)) ''' torch version>> 1.7.1+cu101 GPU 사용 유무>> True GPU 이름>> GeForce GTX 1650 ''' # device 설정. GPU 사용 가능 여부에 따라 device 정보 저장 device = "cuda:0" if torch.cuda.is_available() else "cpu" print(device) # cuda:0