Closed sahandrez closed 1 year ago
Hi!
I believe this error was caused because the ref_point
passed to the train() method has not the same dimension as the reward of the environment. Can you check if this is the case?
Hi!
Thanks that was the issue! I was passing ref_point=np.array([-100.0, -100.0])
based on this example here, but forgot to set cost_objective=False
in the mo_gym.make
function.
Hi @sahandrez,
Nice that it is fixed! Also note that there is an ID registered for hopper 2d in MO-Gymnasium: https://github.com/Farama-Foundation/MO-Gymnasium/blob/main/mo_gymnasium/envs/mujoco/__init__.py#L17
Hi @ffelten, That's great to know! Thank you.
Hello, I received this error when evaluating an algorithm based on CAPQL on hopper. Any insights what may have caused this?
Thanks in advance! Sahand