Closed Dhanushvarma closed 10 months ago
That's unexpected... @snasiriany have you also encountered this when collecting demonstrations with robosuite and spacemouse?
Using collect_human_demonstrations.py to collect demos, I've never seen this issue. I have seen it in other contexts with my own custom scripts. @Dhanushvarma how exactly did you obtain this dataset? Did you collect it yourself, using collect_human_demonstrations.py?
@snasiriany Yes, I have collected the demonstrations using "collect_human_demonstrations.py". However, one thing to note is that, I was collecting demonstrations on a slightly modified "Lift" task, with there being 2 blocks to choose from, not sure if that's relevant to the issue above.
I'd recommend checking the actions are within bounds [-1, 1] while you're collecting the demonstrations to pin down the issue. Let us know what you find.
I have collected the demonstrations using "collect_human_demonstrations.py".
then i python conversion/convert_robosuite.py
get_dataset_info.py
total transitions: 27087
total trajectories: 35
traj length mean: 773.9142857142857
traj length std: 240.8114106727588
traj length min: 362
traj length max: 1490
action min: -7.500000000000007
action max: 7.5
==== Filter Keys ==== filter key train with 32 demos filter key valid with 3 demos
==== Env Meta ==== { "type": 1, "env_name": "Wipe", "env_version": "1.4.1", "env_kwargs": { "env_name": "Wipe", "robots": "UR5e", "controller_configs": { "type": "OSC_POSE", "input_max": 1, "input_min": -1, "output_max": [ 0.05, 0.05, 0.05, 0.5, 0.5, 0.5 ], "output_min": [ -0.05, -0.05, -0.05, -0.5, -0.5, -0.5 ], "kp": 150, "damping_ratio": 1, "impedance_mode": "fixed", "kp_limits": [ 0, 300 ], "damping_ratio_limits": [ 0, 10 ], "position_limits": null, "orientation_limits": null, "uncouple_pos_ori": true, "control_delta": true, "interpolation": null, "ramp_ratio": 0.2 } } }
==== Dataset Structure ==== episode demo_1 with 1129 transitions key: actions with shape (1129, 6) key: states with shape (1129, 13)
Traceback (most recent call last):
File "get_dataset_info.py", line 134, in
your test dataset my dataset where is obs?
@Dhanushvarma Have you solved this problem?
How did you gather this information robosuite/robosuite/models/assets/demonstrations/wipe/panda
@Dhanushvarma Have you solved this problem?
No, the issue still persists
I'd recommend checking the actions are within bounds [-1, 1] while you're collecting the demonstrations to pin down the issue. Let us know what you find.
When using the keyboard controller for collecting the demonstrations, are the actions not scaled down automatically?
I'd recommend checking the actions are within bounds [-1, 1] while you're collecting the demonstrations to pin down the issue. Let us know what you find.
I have printed the actions in the script and they are out of bounds with 3.75 being the magnitude, don't know why this number/scale is appearing
This sounds like an issue with robosuite and the keyboard demonstration collection interface. Can you raise this issue on that repository so the robosuite team can look into it further? Thank you!
After collecting demonstrations in the robosuite env, and then converting them using the conversion script provided, there seems to be an issue of action not being in the scale [-1, 1] . Can this issue be ignored?