토니의 연습장
Training Loop Structure ("FLOBS") 본문
Forward Pass : model(x_train)
Loss Calculation : loss = loss_fn(y_pred, y_train)
Optimizer zero_grad : optimizer.zero_grad()
Backprop/backward : loss.backward()
Step the optimizer (gradient descent) : optimizer.step()

'AI 일반 > 모델, 아키텍처, 구현' 카테고리의 다른 글
Feature Extraction (Transfer Learning의 한 종류) (2) | 2024.08.28 |
---|---|
Underfitting/Overfitting (1) | 2024.08.28 |
Improving model (2) | 2024.08.28 |
CNN Architecture (+Classification Architecture) (4) | 2024.08.28 |
Model Hyperparameter (IHNO HOLO) (2) | 2024.08.28 |