Cancel Epoch and Cancel batch use cases

(Akash ) #1

@jeremy in part 10 talks about using cancel batch and cancel epoch exceptions as control flow techniques. I’m not sure i understand the use cases of canceling an epoch or batch. Can somebody tell me why you would want to cancel only the epoch or batch and not the entire training.

Thank you