added standart exclude parameters

Co-Authored-By: Raffin, Antonin <Antonin.Raffin@dlr.de>
This commit is contained in:
Dormann, Noah 2019-12-05 08:09:26 +01:00 committed by GitHub Enterprise
parent 03bf513e5e
commit 85d3743224

View file

@ -499,7 +499,7 @@ class BaseRLModel(object):
returns the names of the parameters that should be excluded from save
:return: (list) List of parameters that should be excluded from save
"""
return ["replay_buffer"]
return ["env", "eval_env", "replay_buffer", "rollout_buffer"]
def save(self, path, exclude=None, include=None):
"""