def __init__(self, meta_config, config, task_directory, load_directory=None, load_epoch=None):
    self.results_directory = os.path.join('meta_results', str(datetime.datetime.now()))
    self.results = {'task_directory': task_directory, 'load_directory': load_directory, 'load_epoch': load_epoch, 'train_losses': [], 'train_accuracies': [], 'validation_losses': [], 'validation_accuracies': [], 'baseline_test_loss': 0, 'baseline_test_accuracy': 0, 'sgd_test_loss': 0, 'sgd_test_accuracy': 0, 'adam_test_loss': 0, 'adam_test_accuracy': 0, 'meta_optimizer_test_loss': 0, 'meta_optimizer_test_accuracy': 0, 'config': config, 'meta_config': meta_config}
def __init__(self, meta_config, config, task_directory, load_directory=None, load_epoch=None):
    self.results_directory = os.path.join('meta_results', str(datetime.datetime.now()))
    self.results = {'task_directory': task_directory, 'load_directory': load_directory, 'load_epoch': load_epoch, 'train_losses': [], 'train_accuracies': [], 'validation_losses': [], 'validation_accuracies': [], 'baseline_test_loss': 0, 'baseline_test_accuracy': 0, 'sgd_test_loss': 0, 'sgd_test_accuracy': 0, 'adam_test_loss': 0, 'adam_test_accuracy': 0, 'meta_optimizer_test_loss': 0, 'meta_optimizer_test_accuracy': 0, 'config': config, 'meta_config': meta_config}