일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 다중분류
- LogisticRegression
- 분류
- BFS
- 프로그래머스 단어변환 파이썬
- tensor
- 로지스틱회귀
- 프로그래머스 BFS
- 코테
- 백준 잃어버린괄호 파이썬
- keras
- 백준 1541 파이썬
- 프로그래머스 단어변환
- 프로그래머스 단어변환 bfs
- TensorFlow
- 백준 1931 파이썬
- 백준 잃어버린괄호
- 머신러닝
- BOJ 1931 파이썬
- BOJ 1541
- BOJ 1541 파이썬
- 딥러닝
- 프로그래머스bfs
- 프로그래머스 게임맵최단거리 파이썬
- Machine Learning
- 코딩테스트
- 프로그래머스 게임맵최단거리
- BOJ 1931
- ML
- classification
Archives
- Today
- Total
목록Pytorch (1)
그래도해야지어떡해

각 gpu 사용량 확인하기 nvidia-smi 각 gpu의 상태 확인하기(아래 사진에서는 10개(0-9번)의 gpu 사용 가능) 10개의 gpu 중 2번 gpu만 사용하기(2번 gpu 할당하기) # Set the GPU 2 to use os.environ["CUDA_VISIBLE_DEVICES"] = "2" # Train on the GPU or on the CPU, if a GPU is not available device = torch.device('cuda:0') if torch.cuda.is_available() else torch.device('cpu') print('Device:', device) print('Current cuda device:', torch.cuda.current_devic..
Pytorch
2021. 11. 17. 16:20