Skip to content

Commit

Permalink
Fix statement that had no effects
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin committed Feb 3, 2020
1 parent 0143518 commit f0dba88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchy_baselines/common/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def __init__(self, eval_env: Union[gym.Env, VecEnv],
self.best_model_save_path = best_model_save_path
# Logs will be written in `evaluations.npz`
if log_path is not None:
os.path.join(log_path, 'evaluations')
log_path = os.path.join(log_path, 'evaluations')
self.log_path = log_path
self.evaluations_results = []
self.evaluations_timesteps = []
Expand Down

0 comments on commit f0dba88

Please sign in to comment.