markeidsaune commited on
Commit
3f61b56
1 Parent(s): 2e25d9c

Upload . with huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +6 -4
  2. replay.mp4 +0 -0
  3. results.json +1 -1
README.md CHANGED
@@ -20,16 +20,18 @@ model-index:
20
  verified: false
21
  ---
22
 
23
- # **Q-Learning** Agent playing **FrozenLake-v1**
24
- This is a trained model of a **Q-Learning** agent playing **FrozenLake-v1** .
25
-
26
- ## Usage
27
 
 
28
  ```python
29
 
30
  model = load_from_hub(repo_id="markeidsaune/q-FrozenLake-v1-8x8-Slippery", filename="q-learning.pkl")
31
 
32
  # Don't forget to check if you need to add additional attributes (is_slippery=False etc)
33
  env = gym.make(model["env_id"])
 
 
 
34
  ```
35
 
 
20
  verified: false
21
  ---
22
 
23
+ # **Q-Learning** Agent playing **FrozenLake-v1**
24
+ This is a trained model of a **Q-Learning** agent playing **FrozenLake-v1** .
 
 
25
 
26
+ ## Usage
27
  ```python
28
 
29
  model = load_from_hub(repo_id="markeidsaune/q-FrozenLake-v1-8x8-Slippery", filename="q-learning.pkl")
30
 
31
  # Don't forget to check if you need to add additional attributes (is_slippery=False etc)
32
  env = gym.make(model["env_id"])
33
+
34
+ evaluate_agent(env, model["max_steps"], model["n_eval_episodes"], model["qtable"], model["eval_seed"])
35
+
36
  ```
37
 
replay.mp4 CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
 
results.json CHANGED
@@ -1 +1 @@
1
- {"env_id": "FrozenLake-v1", "mean_reward": 0.0, "n_eval_episodes": 100, "eval_datetime": "2023-03-29T14:53:00.497181"}
 
1
+ {"env_id": "FrozenLake-v1", "mean_reward": 0.0, "n_eval_episodes": 100, "eval_datetime": "2023-03-29T15:01:05.046745"}