-
Notifications
You must be signed in to change notification settings - Fork 14
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
Test Pretrained model: Example Error #3
Comments
So do I, and when I execute the following command: [PYOPENGL_PLATFORM=egl PYTHONPATH='.' python executables/run_all_tests.py.] for testing, the above error also appears. |
Thank you for your interest in our work! As discussed in this resolved GitHub issue the "error" you mentioned is expected to print (we have the same error message print on our end as well). It is a sign of the code working correctly- if you navigate to the session directory for the test you ran, you should see a complete set of plots, metrics, etc. from the test running successfully. With regards to running your code on CPU, this codebase must be run on a machine with a GPU for the image rendering engine to work. |
Thank you for your reply. I know that the error is a sign that code works correctly.But when I run your test file executables/run_all_tests.py, every time I use the Visual-Navigation-Release-master/mp_env/render/swiftshader_renderer.py script, I get this result,such as:
|
Hello, These lines print out on our end as well, when the script executes as expected. It is an issue that occurs at the end of script execution (after all tests, plots are created, metrics are computed, etc.). If you run "run_all_tests.py" and receive no assertion errors that means your code is working correctly. You can try running this particular test "PYTHONPATH='.' python tests/test_obstacle_map.py" and change visualize=True in this line. If you see a plot, your code has certainly worked. |
I have changed visualize=True in this line,but I get such errors: Running test test_obstacle_map.py Exception ignored in: <bound method Shape.del of <mp_env.render.swiftshader_renderer.Shape object at 0x7f912559a5c0>> |
Hi Varun! I'm getting the same error here and it looks like the thing we're trying to visualize isn't implemented? Setting visualize to true, I get here:
Then, if I arbitrarily pass in an argument, I get to this function:
Do you know what |
I have followed the instruction and established the environment successfully.
When I run the command
PYOPENGL_PLATFORM=egl PYTHONPATH='.' python executables/rgb/resnet50/rgb_waypoint_trainer.py test --job-dir reproduce_LB_WayptNavResults --params params/rgb_trainer/reproduce_LB_WayPtNav_results/rgb_waypoint_trainer_finetune_params.py -d 0
I got an Error:
some times I also got results:
environment :
I have tried running under CPU only mode, but failed.
What should I do next?
The text was updated successfully, but these errors were encountered: