From 083b4c3856006c5d1001799e9788c6d3e568a45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20W=C3=B3jcik?= Date: Sun, 2 Jul 2023 19:13:32 +0200 Subject: [PATCH] fix(unit2/hands-on): Fix a small formatting issue. --- units/en/unit2/hands-on.mdx | 3 --- 1 file changed, 3 deletions(-) diff --git a/units/en/unit2/hands-on.mdx b/units/en/unit2/hands-on.mdx index e3f3212..9ff4770 100644 --- a/units/en/unit2/hands-on.mdx +++ b/units/en/unit2/hands-on.mdx @@ -716,13 +716,10 @@ def push_to_hub(repo_id, model, env, video_fps=1, local_repo_path="hub"): ## Usage - ```python - model = load_from_hub(repo_id="{repo_id}", filename="q-learning.pkl") # Don't forget to check if you need to add additional attributes (is_slippery=False etc) env = gym.make(model["env_id"]) - ``` """ evaluate_agent(env, model["max_steps"], model["n_eval_episodes"], model["qtable"], model["eval_seed"])