markeidsaune commited on
Commit
4e61b89
1 Parent(s): 3f61b56

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -20,18 +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
- ```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
 
 
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