C.W.K.
Stream
Lesson 06 of 06 · published

실전 — Custom GAN training loop

~8 min · custom-train

Level 0Keras 도제
0 XP0/97 lessons0/20 achievements
0/120 XP to next level120 XP to go0% complete

이번 lesson 에선 위 GAN 을 *manual loop* 으로 다시 짜. train_step override 와 manual loop 두 버전 비교가 학습 목적. 같은 결과지만 코드 길이·callback 인프라 부재 차이가 보여.

manual loop 코드 ~80 줄, train_step override 코드 ~30 줄. 후자가 더 짧고 더 안전. manual loop 의 가치는 *학습용* — 한 번 짜보면 fit() 이 뒤에서 뭘 해주는지 정확히 알게 돼.

External links

Exercise

앞 DCGAN 을 fully manual training loop (fit 도, train_step 도 없이) 으로 재구현. LOC + logging/checkpoint/distribution 에 쓴 라인 수 비교. fit() 이 공짜로 주던 거 메모.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.