Skip to content

Commit 6a0749b

Browse files
btabacopybara-github
authored andcommitted
Fix: Add missing warp-lang dependency to vision notebook
PiperOrigin-RevId: 884607018 Change-Id: I7afcf4b715430a46470e1b8c35da4d9e505d0a86
1 parent 124a73f commit 6a0749b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

learning/notebooks/vision.ipynb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"outputs": [],
4343
"source": [
4444
"#@title Install pre-requisites\n",
45+
"!pip install warp-lang\n",
4546
"!pip install mujoco\n",
4647
"!pip install mujoco_mjx\n",
4748
"!pip install brax"
@@ -640,11 +641,11 @@
640641
"make_inference_fn, params, metrics = train_fn(\n",
641642
" environment=wrapped_env,\n",
642643
" eval_env=wrapper.wrap_for_brax_training(\n",
643-
" eval_env,\n",
644-
" episode_length=episode_length,\n",
645-
" action_repeat=1\n",
646-
" ),\n",
647-
" wrap_env=False,\n",
644+
" eval_env,\n",
645+
" episode_length=episode_length,\n",
646+
" action_repeat=1\n",
647+
" ),\n",
648+
" wrap_env=False,\n",
648649
")\n",
649650
"print(f\"time to jit: {times[1] - times[0]}\")\n",
650651
"print(f\"time to train: {times[-1] - times[1]}\")"

0 commit comments

Comments
 (0)