configs_yearbook_coral = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'coral', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.99, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 0.9, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_groupdro = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'groupdro', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_irm = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'irm', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_erm = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'erm', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_erm_diff = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'erm', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': True, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_erm_lisa = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'erm', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': True, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_erm_mixup  = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'erm', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': True, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_agem = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'agem', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 1000, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_ewc = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'ewc', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 0.5, 'gamma': 1.0, 'online': True, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_ft = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'ft', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_si = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'si', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_simclr = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'simclr', 'device': 0, 'random_seed': 1, 'train_update_iter': 2700, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_swa = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'swa', 'device': 0, 'random_seed': 1, 'train_update_iter': 3000, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
configs_yearbook_swav = {'dataset': 'yearbook', 'regression': False, 'prediction_type': None, 'method': 'swav', 'device': 0, 'random_seed': 1, 'train_update_iter': 2700, 'lr': 0.001, 'momentum': 0.9, 'weight_decay': 0.0, 'mini_batch_size': 32, 'reduced_train_prop': None, 'eval_fix': True, 'difficulty': False, 'split_time': 1970, 'eval_next_timestamps': 10, 'load_model': False, 'eval_all_timestamps': False, 'K': 1, 'lisa': False, 'lisa_intra_domain': False, 'mixup': False, 'lisa_start_time': 0, 'mix_alpha': 2.0, 'cut_mix': False, 'num_groups': 10, 'group_size': 5, 'non_overlapping': False, 'ewc_lambda': 1.0, 'gamma': 1.0, 'online': False, 'fisher_n': None, 'emp_FI': False, 'buffer_size': 100, 'coral_lambda': 1.0, 'irm_lambda': 1.0, 'irm_penalty_anneal_iters': 0, 'si_c': 0.1, 'epsilon': 0.001, 'ssl_finetune_iter': 300, 'data_dir': './Data', 'log_dir': './checkpoints', 'results_dir': './results', 'num_workers': 0}
