fix formatting

This commit is contained in:
Timothy Pogue 2022-09-27 22:02:33 -06:00
parent caa47a2f47
commit 9e36b0d2ea

View File

@ -89,7 +89,6 @@ class ReinforcementLearner_multiproc(BaseReinforcementLearningModel):
render=False, eval_freq=len(train_df), render=False, eval_freq=len(train_df),
best_model_save_path=str(dk.data_path)) best_model_save_path=str(dk.data_path))
def _on_stop(self): def _on_stop(self):
""" """
Hook called on bot shutdown. Close SubprocVecEnv subprocesses for clean shutdown. Hook called on bot shutdown. Close SubprocVecEnv subprocesses for clean shutdown.
@ -99,4 +98,4 @@ class ReinforcementLearner_multiproc(BaseReinforcementLearningModel):
self.train_env.close() self.train_env.close()
if hasattr(self, "eval_env") and self.eval_env: if hasattr(self, "eval_env") and self.eval_env:
self.eval_env.close() self.eval_env.close()