mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-07-23 19:32:28 +00:00
Fix f-string
This commit is contained in:
parent
7ae54206ce
commit
52ad917a3a
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ class BaseRLModel(ABC):
|
|||
|
||||
if 'policy_kwargs' in kwargs and kwargs['policy_kwargs'] != data['policy_kwargs']:
|
||||
raise ValueError(f"The specified policy kwargs do not equal the stored policy kwargs."
|
||||
"Stored kwargs: {data['policy_kwargs']}, specified kwargs: {kwargs['policy_kwargs']}")
|
||||
f"Stored kwargs: {data['policy_kwargs']}, specified kwargs: {kwargs['policy_kwargs']}")
|
||||
|
||||
# check if observation space and action space are part of the saved parameters
|
||||
if ("observation_space" not in data or "action_space" not in data) and "env" not in data:
|
||||
|
|
|
|||
Loading…
Reference in a new issue