Trainer pattern
허지완
KAIST Statistical Inference and
Information Theory Lab
목차
Introduction
Introduction
Introduction
모델 정의
데이터셋 준비
Optimizer
Loss
Train loop
Main.py
Main.py
Introduction
Trainer를 이용한 Keras 코드 작성
네트워크 구조 정의
Model.py
Trainer.py
학습 방법 정의 (method)
main.py
실행 코드 + hyper parameter
Loss.py
손실 함수 정의
Utils.py
기타 함수들 정의
Dataloader.py
데이터 로더 정의
Introduction
Introduction
...
Introduction
...
..
Trainer를 이용한 Keras 코드 작성
MNIST Dataset
Trainer를 이용한 Keras 코드 작성
데이터셋 정의 및 Preprocessing
Model 정의
Trainer를 이용한 Keras 코드 작성
Compile & fit 🡪 더 하위 level의 control?
Trainer를 이용한 Keras 코드 작성
Trainer를 이용한 Keras 코드 작성
Trainer 객체 생성
compile & fit
Generative Adversarial Network (GAN)
생성자 (Generator)와 판별자 (Discriminator)가 동시에 학습
Generative Adversarial Network (GAN)
Code
Thank you!
허지완
KAIST Statistical Inference and
Information Theory Lab