-
Notifications
You must be signed in to change notification settings - Fork 18
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
a strange error about '''boost''' library #135
Comments
Without additional code or where it goes south this is difficult to debug. I would suggest you to debug into the Python/C++ code. As this error is related with the r-tree (https://github.com/bark-simulator/bark/blob/a5ad1044d40c3aa9600f496f64884bdd325ca9a0/bark/world/world.hpp#L217) it probably means that it is not updated. |
the error just occurs sometimes, so it is difficult to debug |
That probably means that an agent somehow is not available in the r-tree (possibly it got deleted going out of the map). |
after checking the code added by me over and over again and it could work very well in Hopper-v2, it seem to be concluded that there is something wrong in unmodified bark, bark-ml or their virtual environments |
All you probably need to do is to set this flag in the JSON:
|
just set it without any content, does it? |
my code is simple, if you're willing, the error can be reproduced using it.
py_test(
name = "mcdo_rl",
srcs = ["mcdo_rl.py"],
data = ["@bark_project//bark/python_wrapper:core.so",
"//bark_ml:generate_core",
"//examples/example_params:example_params"
],
imports = ["../bark_ml/python_wrapper/"],
deps = [
"//bark_ml/commons:tracer",
"//bark_ml/environments:gym",
"//bark_ml/library_wrappers/lib_torch_mcdo:agents",
]
)
|
The code is not executable since there are many local paths, etc. To debug the problem, I would recommend:
As I said before, set the parameter |
sorry for that, actually, you just replace |
I'm trying to merge the project with my algorithems, but an error popped up when running the one of algorithems, it is so hard for me to locate which code snippet causes the error, so I'm here for help.
the error shows as follow:
I'm willing if you ask me to post algorithems for solving it. thanks in advance!
The text was updated successfully, but these errors were encountered: