I configured conda environment, orbit, into VSCode.
Press "F1"
Python: Select Interpreter
Select "orbit"
Problem: --num_envs=1 option cause a problem when the first episode is done. --num_envs=2,3,4... is ok.
+ My Guess: type of obs or reward is numpy.array. I guess there is some dimension shrinks when --num_envs=1.
Thanks!
Error Message
Exception has occurred: IndexError
index 1 is out of bounds for axis 0 with size 1
File "/home/bong/.local/share/ov/pkg/isaac_sim-2022.2.1/Orbit/source/standalone/workflows/sb3/play.py", line 83, in main
obs, reward, done, env_info = env.step(actions)
File "/home/bong/.local/share/ov/pkg/isaac_sim-2022.2.1/Orbit/source/standalone/workflows/sb3/play.py", line 96, in <module>
main()
IndexError: index 1 is out of bounds for axis 0 with size 1
Hi, I want to run sb3/play.py with my checkpoint.
I configured conda environment, orbit, into VSCode.
Problem:
--num_envs=1
option cause a problem when the first episode is done.--num_envs=2,3,4...
is ok. + My Guess: type of obs or reward isnumpy.array
. I guess there is some dimension shrinks when--num_envs=1
. Thanks!Error Message
and this is my
launch.json