# Unoptimized generator
training_generator = SomeSingleCoreGenerator('some_training_set_with_labels.pt')
# Train model
for epoch in range(max_epochs):
for local_X, local_y in training_generator:
# Your model
[...]
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter