openpi icon indicating copy to clipboard operation
openpi copied to clipboard

Libero dataset action space in cartesian

Open yuwei-will-xia opened this issue 1 year ago • 2 comments

Thanks for the work!

I am fine-tuning my own data based on eef-pose in Cartesian as the action space and compared my datasets with the libero datasets [https://huggingface.co/datasets/openvla/modified_libero_rlds/blob/main/libero_goal_no_noops/1.0.0/features.json]

It turns out the libero action(7-dim)/state(8-dim) data are all in eef pose, which is not working well with the pi0 model`s data transforms between delta/absolute action functions(you can not just subtract the rotation value)

Does the model support Cartesian action space? If so, how can I set the Cartesian action in delta to adapt to the model?

Thanks!

yuwei-will-xia avatar Apr 04 '25 18:04 yuwei-will-xia

There is an related issue: https://github.com/Physical-Intelligence/openpi/issues/347.

xianjiedai avatar Apr 06 '25 15:04 xianjiedai

Hi!

I think you can just remove the DeltaAction transforms (ie this code block, see my TODO) to train on your data. I would expect the model to still be able to learn if you finetune it on some in-domain data.

Hope this helps! Will close this issue for now, feel free to reopen if necessary!

kpertsch avatar Apr 10 '25 14:04 kpertsch