def __init__(self, experiment_name, env_params, train_params, **kwargs):
    self.experiment_name = experiment_name
    self.env_params = env_params
    self.train_params = train_params
    self.log_dir = osp.join('runs', f"seed_{str(train_params['seed'])}_{datetime.now().strftime('%b%d_%H-%M-%S')}")
    os.makedirs(self.log_dir, exist_ok=True)
    with open(osp.join(self.log_dir, 'env_params.pkl'), 'wb+') as f:
        pickle.dump(env_params, f)
    with open(osp.join(self.log_dir, 'train_params.pkl'), 'wb+') as f:
        pickle.dump(train_params, f)
    super().__init__()
def __init__(self, experiment_name, env_params, train_params, **kwargs):
    self.experiment_name = experiment_name
    self.env_params = env_params
    self.train_params = train_params
    self.log_dir = osp.join('runs', f"seed_{str(train_params['seed'])}_{datetime.now().strftime('%b%d_%H-%M-%S')}")
    os.makedirs(self.log_dir, exist_ok=True)
    with open(osp.join(self.log_dir, 'env_params.pkl'), 'wb+') as f:
        pickle.dump(env_params, f)
    with open(osp.join(self.log_dir, 'train_params.pkl'), 'wb+') as f:
        pickle.dump(train_params, f)
    super().__init__()