Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vcadillog authored Nov 6, 2019
1 parent 029a72e commit ed8a322
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ A modular implementation for Proximal Policy Optimization in Tensorflow 2 using
Clone the repository,
Change the path to the cloned repository

```
import os
os.chdir('./PPO-Mario-Bros-Tensorflow-2')
```

For training, run:
```
python -c 'from Main import train; train(True)'
```
The argument of test enable the load of the trained model.
The argument of training enables the load of weights of the trained model.

For testing the model:
```
Expand All @@ -35,7 +40,9 @@ The third level of the first world
3 : SuperMarioBros-2-2-v0
The second level of the second world
```
The agent was trained in the first level of Mario, and this is how it learned to finish it.

To change the enviroments, modify the Enviroments.py file.
Eight actors were trained in the first level of Mario, and this is how it learned to finish it.

![alt text](https://github.com/vcadillog/PPO-Mario-Bros-Tensorflow-2/blob/master/images/mario.gif)

Expand Down

0 comments on commit ed8a322

Please sign in to comment.