isaac-sim / IsaacLab

Unified framework for robot learning built on NVIDIA Isaac Sim
https://isaac-sim.github.io/IsaacLab
Other
1.62k stars 526 forks source link

I would like to know how to properly end the demonstration collection process. #577

Closed tkdggg closed 3 weeks ago

tkdggg commented 3 weeks ago

Question

Describe the bug

Isaac Lab documentation->Getting Started->Running Existing Scripts->Imitation Learning https://isaac-sim.github.io/IsaacLab/source/setup/sample.html#imitation-learning

When i run
"./isaaclab.sh -p source/standalone/workflows/robomimic/collect_demonstrations.py --task Isaac-Lift-Cube-Franka-IK-Rel-v0 --num_envs 1 --num_demos 10 --device keyboard ",
no matter how I operate the keyboard and change the num_demos, the HDF5 file it generates is always only 96 bytes.

I would like to know how to properly end the demonstration collection process.

System Info

Dhoeller19 commented 3 weeks ago

Hi @tkdggg, In the script, the data is flushed on success. In the example there, you have to pick up the cube and then place it on the target. Then there will be a terminal output confirming a trajectory has been collected.