Created
August 27, 2018 22:20
-
-
Save lstmemery/232947bebebfbba89250b7a061051b5b to your computer and use it in GitHub Desktop.
Pommerman Stacktrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting container... | |
Waiting for docker agent at http://localhost:10080... | |
ConnectionError: HTTPConnectionPool(host='localhost', port=10080): Max retries exceeded with url: /ping (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4f5713c048>: Failed to establish a new connection: [Errno 111] Connection refused',)) | |
ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) | |
ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) | |
ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) | |
Using TensorFlow backend. | |
* Running on http://0.0.0.0:10080/ (Press CTRL+C to quit) | |
172.17.0.1 - - [27/Aug/2018 22:12:50] "GET /ping HTTP/1.1" 200 - | |
WARN: gym.spaces.Box autodetected dtype as <class 'numpy.float32'>. Please provide explicit dtype. | |
Starting the Game. | |
Traceback (most recent call last): | |
File "/home/deadhead/.local/share/virtualenvs/playground-YbNUY9_R/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2961, in run_code | |
exec(code_obj, self.user_global_ns, self.user_ns) | |
File "<ipython-input-2-4838a60eb16d>", line 1, in <module> | |
runfile('/home/deadhead/Documents/playground/run_battle.py', args='--agents=player::arrows,docker::docker-agent,random::null,random::null --config=PommeFFACompetition-v0', wdir='/home/deadhead/Documents/playground') | |
File "/home/deadhead/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/182.4129.34/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile | |
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script | |
File "/home/deadhead/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/182.4129.34/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile | |
exec(compile(contents+"\n", file, 'exec'), glob, loc) | |
File "/home/deadhead/Documents/playground/run_battle.py", line 157, in <module> | |
main() | |
File "/home/deadhead/Documents/playground/run_battle.py", line 153, in main | |
run(args,100) | |
File "/home/deadhead/Documents/playground/run_battle.py", line 99, in run | |
infos.append(_run(seed, record_pngs_dir_, record_json_dir_)) | |
File "/home/deadhead/Documents/playground/run_battle.py", line 62, in _run | |
actions = env.act(obs) | |
File "/home/deadhead/Documents/playground/pommerman/envs/v0.py", line 170, in act | |
return self.model.act(agents, obs, self.action_space) | |
File "/home/deadhead/Documents/playground/pommerman/forward_model.py", line 158, in act | |
ret.append(act_ex_communication(agent)) | |
File "/home/deadhead/Documents/playground/pommerman/forward_model.py", line 138, in act_ex_communication | |
return agent.act(obs[agent.agent_id], action_space=action_space) | |
File "/home/deadhead/Documents/playground/pommerman/agents/player_agent.py", line 153, in act | |
key = click.getchar() | |
File "/home/deadhead/.local/share/virtualenvs/playground-YbNUY9_R/lib/python3.6/site-packages/click/termui.py", line 510, in getchar | |
return f(echo) | |
File "/home/deadhead/.local/share/virtualenvs/playground-YbNUY9_R/lib/python3.6/site-packages/click/_termui_impl.py", line 527, in getchar | |
f = open('/dev/tty') | |
OSError: [Errno 6] No such device or address: '/dev/tty' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Commandline arguments on run-battle.py:
--agents=player::arrows,docker::docker-agent,random::null,random::null --config=PommeFFACompetition-v0