Update README.md
Browse files
README.md
CHANGED
@@ -30,6 +30,7 @@ code was done with gym env and stable-basline3 libraray
|
|
30 |
|
31 |
|
32 |
```python
|
|
|
33 |
!apt install swig cmake
|
34 |
!pip install -r https://raw.githubusercontent.com/huggingface/deep-rl-class/main/notebooks/unit1/requirements-unit1.txt
|
35 |
!sudo apt-get update
|
@@ -61,7 +62,7 @@ from stable_baselines3.common.monitor import Monitor
|
|
61 |
# Create environment
|
62 |
env = gym.make('LunarLander-v2')
|
63 |
|
64 |
-
|
65 |
model = PPO(
|
66 |
policy="MlpPolicy",
|
67 |
env=env,
|
|
|
30 |
|
31 |
|
32 |
```python
|
33 |
+
#Dependencies and stuff
|
34 |
!apt install swig cmake
|
35 |
!pip install -r https://raw.githubusercontent.com/huggingface/deep-rl-class/main/notebooks/unit1/requirements-unit1.txt
|
36 |
!sudo apt-get update
|
|
|
62 |
# Create environment
|
63 |
env = gym.make('LunarLander-v2')
|
64 |
|
65 |
+
#Define PPO
|
66 |
model = PPO(
|
67 |
policy="MlpPolicy",
|
68 |
env=env,
|