Skip to Content
fastai와 파이토치가 만나 꽃피운 딥러닝
book

fastai와 파이토치가 만나 꽃피운 딥러닝

by 박찬성, 김지은, 제러미 하워드, 실뱅 거거
August 2021
Beginner to intermediate
720 pages
15h 32m
Korean
Hanbit Media, Inc.
Content preview from fastai와 파이토치가 만나 꽃피운 딥러닝
318
2
fastai 애플리케이션 계층 이해하기
전이 학습에서 점진적 크기 조절을 하면 성능을 해칠지도 모릅니다. 이 현상은 사전 학습된 모
델이 전이 학습하려는 문제와 유사하고 이미지 크기도 비슷할 때 발생할 가능성이 높습니다.
학습될 내용이 적어서 가중치에 많은 변화를 기대하기 어렵기 때문이죠. 이때 더 작은 이미지
로 학습을 진행하면 이미 잘 구성된 가중치를 망가뜨리는 결과를 초래할지도 모릅니다.
반면 데이터셋이 사전 학습된 데이터와는 다른 크기와 스타일의 이미지로 구성된다면, 점진적
크기 조절 방식이 유용합니다. 하지만 언제나 그렇듯이 “도움이 될까요?”의 대답은 ‘직접 시도
해보기’로 얻을 수 있다는 점을 잊지 마세요.
검증용 데이터셋에 데이터 증강을 도입하는 기법도 시도해볼 만합니다. 지금까지는 데이터 증
강을 학습용 데이터셋에만 적용했고 검증용 데이터셋의 이미지는 원본 그대로 놔두었죠. 하지
만 검증용 데이터셋 이미지의 여러 버전을 만들고 예측을 수행하여 평균을 내는 방법도 있습니
다. 이어지는 절에서 이런 접근법을 시도합니다.
7.4

지금까지 임의로 자르는 데이터 증강 방식을 사용해 비교적 적은 데이터셋으로도 일반화가 더
잘 된 결과를 얻을 수 있었습니다. 한편 이 방식을 명시적으로 사용할 때
fastai
는 자동으로 검
증용 데이터셋의 중심부를 잘라냅니다. 즉 이미지 중앙에서 이미지 모서리 영역을 넘어가지 않
는 가장 큰 정사각형 영역을 선택합니다.
하지만 이 방식에는 문제가 있습니다. 예를 들어 다중 레이블 데이터셋에서 ...
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

AI를 위한 필수 수학

AI를 위한 필수 수학

할라 넬슨
러닝 타입스크립트

러닝 타입스크립트

조시 골드버그
GPT-4를 활용한 인공지능 앱 개발

GPT-4를 활용한 인공지능 앱 개발

올리비에 케일린, 마리 알리스 블레트

Publisher Resources

ISBN: 9791162244630