Within the if statement, avg_loss = running_loss/100. However, loss over 101 batches are being accumulated before the if statement.
I think the “Track in Progress” section should appear after the “# Print every 100 batches section”. Alternatively, avg_loss = running_loss/101 (instead of 100), but the former approach makes more sense.
Overall, great job on the course! I appreciate the consistent slide quality, good audio quality, and explanation of key concepts in jargon-free English without diluting rigor. Thank you, Laurence, Andrew, and team.