-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dataset #91
Comments
We don't have data collection scripts -- it probably depends a lot on your robot hardware. |
Test the installation by finetuning on the debug dataset, I just run python scripts/finetune.py --config.pretrained_path=hf://rail-berkeley/octo-small --debug |
Can you make sure that you are using the packages at the versions pinned in requirements.txt? |
Yes, the action should be the delta between the end-effector pose at this time step and the pose at the next time step. |
(if the data is collected with non-blocking control this may not directly correspond to the actually achieved robot state at the next time step) |
Do you know how I should get this action? In this sample dataset, subtracting two XYZ values does not yield the action. |
The dataset already has a field called "action" and that contains the correct end-effector action. |
Thank you! |
We have an example here for evaluating a finetuned model on the BridgeV2 WidowX robot, you can modify this for your UR5 setup: https://github.com/octo-models/octo/blob/main/examples/04_eval_finetuned_on_robot.py Re number of demos: 50 is usually a good number for a single task, though you may want to collect more if your task is complex. |
Looks like the |
I have convert my dataset to rlds |
Did you store your dataset into |
yes, tfds build store my dataset into ~/tensorflow_dataset发自我的 iPhone在 2024年5月27日,12:36,Karl Pertsch ***@***.***> 写道:
Did you store your dataset into ~/tensorflow_datasets? If not, you need to add data_dir=path_to_data_root to the tfds.load() command. here the data root refers to the folder that contains u_r5__wipe
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
What's the content of the directory |
/home/nmz/tensorflow_datasets/u_r5__wipe_dataset |
Can you copy the dataset one folder up, ie it should look like this: |
Do you have plans to open source the RLDS build process for the UR5 berkeley_autolab_ur5? |
No, unfortunately it will be hard to open-source that, but there is nothing UR5-specific in the conversion code -- you can just follow another example, eg here for Bridge data V2: https://github.com/kpertsch/bridge_rlds_builder/blob/main/bridge_dataset/bridge_dataset_dataset_builder.py (note that this repo is forked off of the |
Thank you for your patient response |
Can you introduce the inputs and outputs in the UR5 wipe task? Is the input from one camera or two cameras? |
It's single camera input and 7D end-effector action output |
7D means x,y,z, qx,qy,qz,qw or x y z rx ry rz and gripper? |
the latter |
my qq 670761972发自我的 iPhone在 2024年6月6日,19:05,liufeifei ***@***.***> 写道:
Thank you for your patient response When I initially did the installation test, there were no errors in fine-tuning, but now there are errors. python finetune.py --config.pretrained_path=hf://rail-berkeley/octo-small-1.5 --debug Traceback (most recent call last): File "/home/nmz/mgit/octo/scripts/finetune.py", line 426, in app.run(main) File "/home/nmz/anaconda3/envs/octo-models/lib/python3.10/site-packages/absl/app.py", line 308, in run _run_main(main, args) File "/home/nmz/anaconda3/envs/octo-models/lib/python3.10/site-packages/absl/app.py", line 254, in _run_main sys.exit(main(argv)) File "/home/nmz/mgit/octo/scripts/finetune.py", line 130, in main pretrained_model = OctoModel.load_pretrained( File "/home/nmz/mgit/octo/octo/model/octo_model.py", line 259, in load_pretrained module = OctoModule.create(**config["model"]) TypeError: OctoModule.create() got an unexpected keyword argument 'use_correct_attention'
Hi, I have the same problem. Have you solved it now?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
I want to use my own UR5 to collect data for wiping tables. Are there any data collection scripts and scripts to convert to RLDS available?
The text was updated successfully, but these errors were encountered: