nickgkan / 3d_diffuser_actor

Code for the paper "3D Diffuser Actor: Policy Diffusion with 3D Scene Representations"
https://3d-diffuser-actor.github.io/
MIT License
224 stars 28 forks source link

pkl file generated by the script is different #61

Closed xiaohao9999 closed 1 month ago

xiaohao9999 commented 1 month ago

Hello,

The pkl file I generated using the following script is different in size from the one you provided.

> python data_preprocessing/preprocess_rlbench_instructions.py --tasks place_cups close_jar insert_onto_square_peg light_bulb_in meat_off_grill open_drawer place_shape_in_shape_sorter place_wine_at_rack_location push_buttons put_groceries_in_cupboard put_item_in_drawer put_money_in_safe reach_and_drag slide_block_to_color_target stack_blocks stack_cups sweep_to_dustpan_of_size turn_tap --output instructions.pkl

image

1726369953419

Is this correct?

By the way, I would like to ask how these boundaries are defined.

tasks/18_peract_tasks_location_bounds.json

{ "close_jar": [ [ -0.07010312378406525, -0.33692488074302673, 0.761122465133667 ], [ 0.525260329246521, 0.40034544467926025, 0.9308611154556274 ] ],

twke18 commented 1 month ago

Hi,

The instructions.pkl we provided is directly adopted from Act3d repo, which contains more tasks than the ones used in PerAct.

The gripper location boundaries is defined as the minimum and maximum of gripper locations aggregated among all keyframes from all demonstrations for each task. We calculate the minimum and maximum of X, Y, Z separately.

xiaohao9999 commented 1 month ago

Hi,

Thank you for your timely reply!

Can you explain the boundary more clearly? I want to try another task, but it is not in the json file you gave me.

twke18 commented 1 month ago

You can check these lines from the Act3D repo. We follow the same procedure to obtain minimum and maximum bounds of gripper location.

xiaohao9999 commented 1 month ago

OK, thanks a lot! This is useful!