This commit is contained in:
Noah Dormann 2019-11-21 16:49:49 +01:00
parent 2d72f6d1b5
commit 03a0d437ef

View file

@ -288,12 +288,9 @@ class SAC(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
"""