Merge remote-tracking branch 'origin/feature/1972-remove-sqlite' into feature/1971-ray-agents-2

This commit is contained in:
Marek Wolan
2023-11-18 04:54:17 +00:00
13 changed files with 63 additions and 111 deletions

View File

@@ -74,10 +74,6 @@ class SB3Policy(PolicyABC, identifier="SB3"):
"""Load agent from a checkpoint."""
self._agent = self._agent_class.load(model_path, env=self.session.env)
def close(self) -> None:
"""Close the agent."""
pass
@classmethod
def from_config(cls, config: "TrainingOptions", session: "PrimaiteSession") -> "SB3Policy":
"""Create an agent from config file."""