Skip to Content
핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무
book

핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무

by 박해선, 오렐리앙 제롱
May 2020
Beginner to intermediate
952 pages
24h 11m
Korean
Hanbit Media, Inc.
Content preview from 핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무
822
2
부
신경망과 딥러닝
•
모델이 입력으로 이미지를 두 개 받고
CNN
을 두 개 사용해 처리한 다음 그 출력을 합친다면 각
CNN
을
다른
GPU
에 배치하여 훨씬 빠르게 실행할 수 있습니다.
•
효율적인 앙상블 모델을 만들 수 있습니다.
GPU
마다 훈련된 다른 모델을 배치하면 훨씬 빠르게 예측을
모아서 앙상블의 최종 예측을 만들 수 있습니다.
만약 여러
GPU
에서 하나의 모델을 훈련하려면 어떻게 해야 할까요?
19.4
다중 장치에서 모델 훈련하기
여러 장치에서 하나의 모델을 훈련하는 방법은 두 가지가 있습니다. 모델을 여러 장치에 분할
하는
모델 병렬화
model
parallelism
와 모델을 각 장치에 복사하고 복사본
replica
을 데이터 일부분에서
훈련하는
데이터 병렬화
data
parallelism
가 있습니다. 여러
GPU
에서 모델을 훈련하기 전에 이 두 방
법을 자세히 알아봅시다.
19.4.1
모델 병렬화
지금까지는 장치 하나에서 신경망 하나를 실행했습니다. 신경망 하나를 장치 여러 개에서 실행
하려면 어떻게 해야 할까요? 모델을 여러 부분으로 나누어 각 부분을 다른 장치에서 실행해야
합니다. 불행히도 모델 병렬화는 매우 어렵고 신경망 모델의 구조에 매우 의존적입니다. 완전
연결 신경망의 경우에는 이런 방식으로 얻을 이득이 많지 않습니다 (그림
19
-
15
). 직관적으
로 생각했을 때 모델을 간단하게 나누는 방법은 각 층을 다른 장치에 배치하는 것입니다. 하지
만 각 층이 무언가 하려면 이전 층의 출력을 기다려야 하기 때문에 이런 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

파이썬을 활용한 머신러닝 쿡북: 전처리에서 딥러닝까지, 판다스와 사이킷런 중심의 실전 문제 해결 200선

파이썬을 활용한 머신러닝 쿡북: 전처리에서 딥러닝까지, 판다스와 사이킷런 중심의 실전 문제 해결 200선

박해선, 크리스 알본

Publisher Resources

ISBN: 9791162242964