Update README.md
Browse files
README.md
CHANGED
@@ -24,9 +24,11 @@ model-index:
|
|
24 |
This is a trained model of a **Q-Learning** agent playing **FrozenLake-v1** .
|
25 |
|
26 |
## Usage
|
27 |
-
|
28 |
model = load_from_hub(repo_id="SamuelM0422/q-FrozenLake-v1-4x4-noSlippery", filename="q-learning.pkl")
|
29 |
-
|
|
|
30 |
# Don't forget to check if you need to add additional attributes (is_slippery=False etc)
|
|
|
31 |
env = gym.make(model["env_id"])
|
32 |
-
|
|
|
24 |
This is a trained model of a **Q-Learning** agent playing **FrozenLake-v1** .
|
25 |
|
26 |
## Usage
|
27 |
+
```python
|
28 |
model = load_from_hub(repo_id="SamuelM0422/q-FrozenLake-v1-4x4-noSlippery", filename="q-learning.pkl")
|
29 |
+
```
|
30 |
+
|
31 |
# Don't forget to check if you need to add additional attributes (is_slippery=False etc)
|
32 |
+
```python
|
33 |
env = gym.make(model["env_id"])
|
34 |
+
```
|