You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how to get the LSTM policy working with the above algorithms. It says
model = PPO('MlpLstmPolicy', env, verbose=1).learn(5000)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines3/ppo/ppo.py", line 110, in init
_init_setup_model=False,
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines3/common/on_policy_algorithm.py", line 87, in init
tensorboard_log=tensorboard_log,
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines3/common/base_class.py", line 106, in init
self.policy_class = get_policy_from_name(policy_base, policy)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines3/common/policies.py", line 815, in get_policy_from_name
f"Error: unknown policy type {name},"
KeyError: "Error: unknown policy type MlpLstmPolicy,the only registed policy type are: ['MlpPolicy', 'CnnPolicy']!"
The text was updated successfully, but these errors were encountered:
I'm not sure how to get the LSTM policy working with the above algorithms. It says
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines3/ppo/ppo.py", line 110, in init
_init_setup_model=False,
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines3/common/on_policy_algorithm.py", line 87, in init
tensorboard_log=tensorboard_log,
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines3/common/base_class.py", line 106, in init
self.policy_class = get_policy_from_name(policy_base, policy)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/stable_baselines3/common/policies.py", line 815, in get_policy_from_name
f"Error: unknown policy type {name},"
KeyError: "Error: unknown policy type MlpLstmPolicy,the only registed policy type are: ['MlpPolicy', 'CnnPolicy']!"
The text was updated successfully, but these errors were encountered: