Fix statement that had no effects

This commit is contained in:
Antonin Raffin 2020-02-03 10:51:29 +01:00
parent 0143518a99
commit f0dba88275

View file

@ -242,7 +242,7 @@ class EvalCallback(EventCallback):
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 = []