[rllib] Added vanilla policy gradient (#1497)

This commit is contained in:
alvkao58
2018-02-10 13:54:51 -08:00
committed by Richard Liaw
parent 1ab2e63dbd
commit 81a4be8f65
9 changed files with 258 additions and 2 deletions
+3
View File
@@ -229,6 +229,9 @@ def get_agent_class(alg):
elif alg == "BC":
from ray.rllib import bc
return bc.BCAgent
elif alg == "PG":
from ray.rllib import pg
return pg.PGAgent
elif alg == "script":
from ray.tune import script_runner
return script_runner.ScriptRunner