mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-09-17 22:30:59 +00:00
cleaned comments on model specific get and load functions
This commit is contained in:
parent
03a0d437ef
commit
924ba9aea6
2 changed files with 0 additions and 5 deletions
|
|
@ -303,9 +303,7 @@ class PPO(BaseRLModel):
|
|||
def load_parameters(self, load_dict, opt_params):
|
||||
"""
|
||||
Load model parameters and optimizer parameters from a dictionary
|
||||
|
||||
Dictionary should be of shape torch model.state_dict()
|
||||
|
||||
This does not load agent's hyper-parameters.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -248,12 +248,9 @@ class TD3(BaseRLModel):
|
|||
def load_parameters(self, load_dict, opt_params):
|
||||
"""
|
||||
Load model parameters and optimizer parameters from a dictionary
|
||||
|
||||
Dictionary should be of shape torch model.state_dict()
|
||||
|
||||
This does not load agent's hyper-parameters.
|
||||
|
||||
|
||||
:param load_dict: (dict) dict of parameters from model.state_dict()
|
||||
:param opt_params: (dict of dicts) dict of optimizer state_dicts should be handled in child_class
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue