Open ncble opened 5 years ago
Hello, Recurrent policies are not supported by those algorithms. Anyway, it seems also like a legit bug, thanks.
Hi, thanks for noticing the bug.
As the repository as been updated few hours ago (pending PR now closed),
these policies are now available
policy_fn = {'cnn': "CnnPolicy", 'cnn-lstm': "CnnLstmPolicy", 'cnn-lnlstm': "CnnLnLstmPolicy", 'mlp': "MlpPolicy", 'lstm': "MlpLstmPolicy", 'lnlstm': "MlpLnLstmPolicy"}[args.policy]
(see rl_baselines/base_classes.py, L241)
and it seems like your fix might work.
Describe the bug In the scripts rl_baselines/rl_algorithm/sac.py, deepq.py, ddpg.py:
Code example The following command line reproduces the issue: