def make_train_state(save_file):
    """Initializes history state dictionary

    Args:
        save_file (str): path to save directory
    """
    return {
        'epoch_idx': 0,
        'model_save_file': save_file,
        'best_joint_acc': 0,
        'best_joint_loss': 1e9,
        'best_epoch_idx_loss': 0,
        'best_epoch_idx_acc': 0,
        'run_time': 0,
        'train_loss': [],
        'train_acc': [],
        'val_loss_l1': [],
        'val_acc_l1': [],
        'val_loss_l2': [],
        'val_acc_l2': [],
        'LDT_train_score': [],
        'LDT_val_score': [],
        'LDT_test_score': 0,
        'test_loss_l1': -1,
        'test_acc_l1': -1,
        'test_loss_l2': -1,
        'test_acc_l2': -1,
    }