November 2018
Beginner to intermediate
182 pages
4h 48m
English
These are the pieces which we looked at, let's quickly summarize them:
This is how we would see these 2 components in PyTorch:
from torch import optimopt = optim.Adam(model.parameters(), lr=1e-2)loss_func = nn.BCEWithLogitsLoss().cuda()
We call set the number of epochs for which the model has to be trained here:
epochs = 3
This is set to a very small value because this entire notebook, model, and training loop is just for demonstrative purposes.
Read now
Unlock full access