From 15a725f0eae9d91afb8252a0d1ab81bde53d4299 Mon Sep 17 00:00:00 2001 From: u214892 <u214892@sbb.ch> Date: Fri, 5 Jul 2019 17:56:30 +0200 Subject: [PATCH] #67 multiple agents --- notebooks/simple_example_3_manual_control.ipynb | 2 +- tox.ini | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/notebooks/simple_example_3_manual_control.ipynb b/notebooks/simple_example_3_manual_control.ipynb index 7f492e19..951fa895 100644 --- a/notebooks/simple_example_3_manual_control.ipynb +++ b/notebooks/simple_example_3_manual_control.ipynb @@ -114,7 +114,7 @@ "# Print the observation vector for agent 0\n", "obs, all_rewards, done, _ = env.step({0: 0})\n", "for i in range(env.get_num_agents()):\n", - " env.obs_builder.util_print_obs_subtree(tree=obs[i], num_features_per_node=7)\n", + " env.obs_builder.util_print_obs_subtree(tree=obs[i])\n", "\n", "env_renderer = RenderTool(env, gl=\"PIL\")\n", "# env_renderer = RenderTool(env, gl=\"PILSVG\")\n", diff --git a/tox.ini b/tox.ini index e93c522b..2047166a 100644 --- a/tox.ini +++ b/tox.ini @@ -113,8 +113,6 @@ deps = -r{toxinidir}/requirements_dev.txt -r{toxinidir}/requirements_continuous_integration.txt commands = -; install current version of flatland to be used by notebooks - sh -c 'python setup.py install' ; run tests from subfolder to ensure that resources are accessed via resources and not via relative paths sh -c 'mkdir -p {envtmpdir}/6f59bc68108c3895b1828abdd04b9a06' sh -c 'jupyter nbextension install --py --sys-prefix widgetsnbextension' -- GitLab