일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- nvidia-smi
- C#
- pip
- 기타 연주
- 프로그래머스
- mysql
- Docker
- 오류
- C
- JSON
- YOLO
- paramiko
- C++
- SSH
- Visual Studio
- OpenCV
- pandas
- label
- 컨테이너
- 채보
- Selenium
- VS Code
- Numpy
- ubuntu
- windows forms
- error
- pytorch
- Linux
- Python
- 핑거스타일
- 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+cu101GPU 사용 유무>> TrueGPU 이름>> GeForce GTX 1650'''# device 설정. GPU 사용 가능 여부에 따라 device 정보 저장device = "cuda:0" if torch.cuda.is_available() else "cpu"print(device)# cuda:0