Skip to content
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

Own environment definition from .lua into .bsp & runtime error #187

Closed
jafphd opened this issue Apr 25, 2020 · 0 comments
Closed

Own environment definition from .lua into .bsp & runtime error #187

jafphd opened this issue Apr 25, 2020 · 0 comments

Comments

@jafphd
Copy link

jafphd commented Apr 25, 2020

I want to train an agent using my own definition of a simple arena. I have generated the bsp and aas files as suggested in issue #186. I have got these files when running my test of that arena by using the following command: "bazel run :game -- -l tests/Arena_test -s logToStdErr=true". Doing so, the map is defined in the "Arena_test.lua" file.

After placing the .bsp, .aas and .lua files in the required folders, and when running the main script that uses those files, I get the following error: "RuntimeError: Failed to start environment - ..... attempt to index global 'make_map' (a nil value)". I tried to solve this issue by looking into the examples provided in DMLab, but the error persists. It seems to me there is extra data or instructions that are needed but I am not understanding how to do get them.

Because I am certainly stuck on that problem, I would appreciate if you can point me toward a step-by-step example on how to proceed to generate an arena from scratch. Any other comment would be also appreciated.

Thank you for your help!

@jafphd jafphd closed this as completed Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant