[RLlib] Deprecate old classes, methods, functions, config keys (in prep for RLlib 1.0). (#10544)

This commit is contained in:
Sven Mika
2020-09-06 10:58:00 +02:00
committed by GitHub
parent f38dba09b2
commit 28ab797cf5
182 changed files with 115 additions and 27244 deletions
-2
View File
@@ -19,7 +19,6 @@ from ray.rllib.examples.models.simple_rpg_model import CustomTorchRPGModel, \
parser = argparse.ArgumentParser()
parser.add_argument(
"--framework", choices=["tf", "tfe", "torch"], default="tf")
parser.add_argument("--eager", action="store_true")
if __name__ == "__main__":
ray.init(local_mode=True)
@@ -35,7 +34,6 @@ if __name__ == "__main__":
},
config={
"framework": args.framework,
"eager": args.eager,
"env": SimpleRPG,
"rollout_fragment_length": 1,
"train_batch_size": 2,