We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acbe7cc commit ee3f246Copy full SHA for ee3f246
tests/data/ray_cartpole/train_ray.py
@@ -5,7 +5,7 @@
5
from ray.tune.logger import pretty_print
6
7
# Based on https://github.com/ray-project/ray/blob/master/doc/source/rllib-training.rst#python-api
8
-ray.init(redirect_output=False, redirect_worker_output=False)
+ray.init(log_to_driver=False)
9
config = ppo.DEFAULT_CONFIG.copy()
10
config["num_gpus"] = int(os.environ.get("SM_NUM_GPUS", 0))
11
checkpoint_dir = os.environ.get("SM_MODEL_DIR", '/Users/nadzeya/gym')
0 commit comments