300x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- PYTHON
- CSS
- 동적프로그래밍
- OS
- DFS
- 동적 프로그래밍
- AI
- 코딩 테스트
- google coding competition
- dp
- 딥러닝
- 프로그래밍
- 파이썬
- 코딩
- BFS
- 코딩테스트
- 브루트포스
- 리눅스
- 킥스타트
- 네트워크
- 알고리즘
- 순열
- kick start
- 프로그래머스
- 구글 킥스타트
- 운영체제
- 그래프
- nlp
- linux
- 백준
Archives
- Today
- Total
목록parallel gpu (1)
오뚝이개발자
[Keras] 케라스로 멀티 gpu 사용하기(여러 개의 gpu 사용하기, multi gpu)
keras를 사용해 멀티 gpu를 사용하는 방법을 알아보자. 해당 메소드는 케라스 2.0.9 버전부터 사용이 가능하니 해당 버전에 맞춰 설치해야 한다. model = Sequential() model.add(layers.LSTM(32, input_shape=(None, float_data.shape[-1]))) model.add(layers.Dense(1)) # multi-gpu 사용 from keras.utils.training_utils import multi_gpu_model model = multi_gpu_model(model, gpus=2) model.compile(optimizer=RMSprop(), loss='mae') history = model.fit_generator(train_gen,..
AI/AI 개발
2021. 11. 7. 18:22