mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-22 03:59:42 +00:00
include lerobot-rollout in inference section
This commit is contained in:
@@ -291,7 +291,34 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"Uses `POLICY_PATH` from the Configuration cell (defaults to the Hub repo ID). You can also put there the `LAST_CHECKPOINT_PATH`.\n",
|
"Uses `POLICY_PATH` from the Configuration cell (defaults to the Hub repo ID). You can also put there the `LAST_CHECKPOINT_PATH`.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"See the [inference docs](https://huggingface.co/docs/lerobot/il_robots#run-inference-and-evaluate-your-policy) for details."
|
"See the [inference docs](https://huggingface.co/docs/lerobot/il_robots#run-inference-and-evaluate-your-policy) for details.\n",
|
||||||
|
"\n",
|
||||||
|
"Recently ```lerobot-rollout``` was introduced, you can [read more about it here](https://huggingface.co/docs/lerobot/main/en/il_robots?eval=Base+mode+%28no+recording%29#run-inference-and-evaluate-your-policy)."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"print_cmd(\n",
|
||||||
|
" \"lerobot-rollout\",\n",
|
||||||
|
" \"--strategy.type=base\",\n",
|
||||||
|
" f\"--policy.path={POLICY_PATH}\",\n",
|
||||||
|
" f\"--robot.type={ROBOT_TYPE}\",\n",
|
||||||
|
" f\"--robot.port={ROBOT_PORT}\",\n",
|
||||||
|
" CAMERAS_FLAG,\n",
|
||||||
|
" f'--task=\"{TASK_DESCRIPTION}\"',\n",
|
||||||
|
" \"--duration=60\",\n",
|
||||||
|
")"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "markdown",
|
||||||
|
"metadata": {},
|
||||||
|
"source": [
|
||||||
|
"if you are using the V0.5.1 release you should use ```lerobot-record``` instead of rollout"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user