Define the general Training Loop
get_model(device, args)
return the required model depending on the arguments:
get_dataset(args)
return the required datasets and dataloaders depending on the dataset
test_one_batch(args)
Useful functionality to test a new model using a demo databatch and check compatibility
batch_info(test_x, args)
display some relevant infos about the dataset format and statistics
main_loop(args, tq_nb=True)
Perform the Training using the predefined arguments
evaluate_model(args, model, batch_count, epoch, test_data, valid_loader)
Evaluate the model every x iterations