-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python Core Dumped #10
Comments
Thanks for the bug report - could you also mention how you've installed the environment ? (docker, from pypi ? from source?) |
Also, are you sure you don't have any local changes made to the environment? |
Yes I did not change anything. I just ran the recommended code from the paper. import gfootball.env as football_env env = football_env.create_environment(env_name='11_vs_11_stochastic',render=True) I installed using pypi. I am running i on Ubuntu 18.04 LTS. With python 3.6.8. |
Update: the Error is caused by the env.reset() command |
We are not able to reproduce this problem. Could you make a code change inside utils.cpp:GetVectorFromString function in order to log the input vecString being passed to this method upon hitting a problem? Would be great to also get a stack trace from there, you can replace assert with Thanks a lot. |
I saw the same problem on ubuntu 18.04 with nvidia 1080 ti driver 415, python 3.6, cuda 10.0 the core dump doesn't provide meaningful callstack
I didn't use docker, this was on native. |
Are you guys certain there is no second instance of the environment still running in the background (unclean termination of the previous run)? |
the issue appears to be related to the following line: I wasn't sure if baselines was installed, so I tried then I got
it appears MujoCo is a dependency, but it is proprietary |
Seems the problem was resolved, so closing the issue. |
I am trying to run the commands in python as described in the paper.
env = football_env.create_environment(env_name='11_vs_11_stochastic',render=True)
env.reset()
done = False
while not done:
action = env.action_space.sample()
observation, reward, done, info = env.step(action)
But every time I get the same error
python3: /tmp/pip-build-8hrcw4hm/gfootball/third_party/gfootball_engine/src/base/utils.cpp:244: blunted::Vector3 blunted::GetVectorFromString(const string&): Assertion `tokenizedString.size() <= 3' failed.
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: