import time
begin = time.time()
time_cost = time.time() - begin print('Training complete in {:.0f}m {:.0f}s'.format(time_cost // 60, time_cost % 60))