def save_network(network, epoch_label, is_best=False):
    if is_best:
        save_path = ((checkpoint_path + suffix) + '_epoch_best.t')
    else:
        save_path = ((checkpoint_path + suffix) + '_epoch_{}.t'.format(epoch_label))
    torch.save(network.state_dict(), save_path)
def save_network(network, epoch_label, is_best=False):
    if is_best:
        save_path = ((checkpoint_path + suffix) + '_epoch_best.t')
    else:
        save_path = ((checkpoint_path + suffix) + '_epoch_{}.t'.format(epoch_label))
    torch.save(network.state_dict(), save_path)