finish 09

This commit is contained in:
Joseph Hopfmüller
2022-10-17 14:58:38 +02:00
parent 3ce77417fe
commit 563f0ff8ec
7 changed files with 441 additions and 0 deletions

12
09_epochs_batches.md Normal file
View File

@@ -0,0 +1,12 @@
# basics of batches
DataSet and DataLoader classes for batches of data instead of laoding the entire dataset at once
for training we loop over epochs and batches
epoch = 1 forward and backward pass of ALL training samples
batch_size = number of sample in one forward/backward pass
number of iterations = number of passes, each pass using [batch_size] number of samples
-> each epoch gets split up into [number of iterations] passes
e.g. 100 samples, batch_size=20 -> 100/20 = 5 iterations for 1 epoch