Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
밑바닥부터 시작하는 딥러닝 5
by
사이토 고키
,
개앞맵시(이복연)
October 2024
Beginner to intermediate
340 pages
7h 38m
Korean
Hanbit Media, Inc.
Content preview from
밑바닥부터 시작하는 딥러닝 5
248
밑바닥부터 시작하는 딥러닝 5
9.1.2
U
-
Net
구현
이번 절에서는
1
×
28
×
28
크기의
MNIST
를 처리하는 간단한
U
-
Net
을 구현합니다. 신경망
구조는 [그림
9
-
5
]와 같습니다.
그림
9-5
이번 절에서 구현하는
U
-
Net
28x28
28x28
1
164
12864
64
64
64
14x14
14x14
128
128
128
128
conv 3x3, BatchNorm, ReLU
copy
conv 1x1
maxpool 2x2
upsample 2x2
256
256
128+256
64+128
7x7
그림에서 보듯 축소 단계와 확대 단계를 두 번씩 거칩니다. 각 단계는
2
층의 합성곱 계층으로
처리합니다. 이
U
-
Net
을 구현하기 위해 먼저 ‘합성곱 블록’을 표현하는
ConvBlock
클래스
를 구현하겠습니다.
ConvBlock
클래스는 [그림
9
-
6
]과 같이 합성곱 계층, 배치 정규화 계층,
ReLU
함수를 각각 두 번씩 처리합니다.
그림
9-6
ConvBlock
클래스에서 수행하는 처리
Conv
ConvBlock
ReLU
BatchNorm
Conv
ReLU
BatchNorm
=
다음은
ConvBlock
클래스의 코드입니다.
249
9
장
확산 모델 구현
import
torch
from
torch
import
nn
class
ConvBlock
(nn
.
Module):
def
__
init
__
(
self
, in
_
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.
Start your free trial
You might also like
밑바닥부터 시작하는 딥러닝 4
사이토 고키
밑바닥부터 시작하는 딥러닝
사이토 고키
밑바닥부터 시작하는 딥러닝 2
사이토 고키
밑바닥부터 시작하는 비트코인
류정필, 송재준
Publisher Resources
ISBN: 9791169212960