Implement GAIL based on PPO and provide example script and sample (i.e., most likely not the best) results with Mujoco tasks. (#531, #173)
162 lines
2.8 KiB
ReStructuredText
162 lines
2.8 KiB
ReStructuredText
tianshou.policy
|
|
===============
|
|
|
|
Base
|
|
----
|
|
|
|
.. autoclass:: tianshou.policy.BasePolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.RandomPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
Model-free
|
|
----------
|
|
|
|
DQN Family
|
|
~~~~~~~~~~
|
|
|
|
.. autoclass:: tianshou.policy.DQNPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.C51Policy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.RainbowPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.QRDQNPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.IQNPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.FQFPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
On-policy
|
|
~~~~~~~~~
|
|
|
|
.. autoclass:: tianshou.policy.PGPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.NPGPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.A2CPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.TRPOPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.PPOPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
Off-policy
|
|
~~~~~~~~~~
|
|
|
|
.. autoclass:: tianshou.policy.DDPGPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.TD3Policy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.SACPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.DiscreteSACPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
Imitation
|
|
---------
|
|
|
|
.. autoclass:: tianshou.policy.ImitationPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.BCQPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.CQLPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.DiscreteBCQPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.DiscreteCQLPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.DiscreteCRRPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.GAILPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
Model-based
|
|
-----------
|
|
|
|
.. autoclass:: tianshou.policy.PSRLPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
.. autoclass:: tianshou.policy.ICMPolicy
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
Multi-agent
|
|
-----------
|
|
|
|
.. autoclass:: tianshou.policy.MultiAgentPolicyManager
|
|
:members:
|
|
:undoc-members:
|
|
:show-inheritance:
|