Skip to content

how to control a so-101 with trained ACT model? #1607

Description

@initia1013

https://huggingface.co/initie/test_pick_result
This is my pre-trained model for grabbing the switch on the desk by ACT model.
How to run this policy model on the Anaconda?
Already by way of example,

python -m lerobot.record --robot.type=so101_follower
--robot.port=COM3
--robot.id=ammd_follower_arm
--robot.cameras="{ front: {type: opencv, index_or_path: 0, width: 640, height: 480, fps: 30}, side: {type: opencv, index_or_path: 1, width: 640, height: 480, fps: 30} }"
--display_data=True
--dataset.repo_id="initie/eval_test_pick"
--dataset.single_task="Grab the switch"
--policy.path=initie/test_pick_result
--teleop.type=so101_leader --teleop.port=COM5
--teleop.id=ammd_leader_arm --dataset.reset_time_s=5

This is the example code from Lerobot tutorial, but when i run these codes, I had to record 10 episodes again.
I just wanna run a pre-trained model, not record an episode again. I'm curious about a simple code that only "runs" that model not including recording

Metadata

Metadata

Assignees

No one assigned

    Labels

    policiesItems related to robot policiesquestionRequests for clarification or additional informationstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions