Closed Surya-77 closed 2 years ago
Thank you very much for raising the issue, let me confirm the problem and get back to you.
Hi @lerrytang any updates on this issue ?.
Sorry for the delay, I've confirmed the error, thanks for the detailed report. The error is due to the fixed number of legs for contact detection. I should have extended the state to include feet_contact ONLY when the task is Ant and the user chooses to use map-elites. Since you discovered the bug and the fix is straightforward, will you be interested in sending a PR to us?
Thanks for the update. I'll get a PR ready and send it once it's done.
bug fixed in #39
Information
Issue is with running brax environments other brax-ant. The included humanoid, half cheetah and fetch environments are affected.
Couldn't find any references to this issue in the repo. I could have missed something.
Expected Behavior
Current Behavior
Exact Error:
Failure Information
Context
Based on commit history, this appears to be due to the changes introduced in #33 . Manually altering variable
feet_contact
variable from methodreset_fn
in fileevojax/evojax/task/brax_task.py
allows for the other environments to be run.Setup details related to the hardware are irrelevant since error occurs on the hosted colab notebook as well.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
evojax/scripts/benchmarks/train.py
using a modifiedevojax/scripts/benchmarks/configs/<ES>
file using non-ant brax environment.feet_contact
array size and test.