Skip to content

Commit

Permalink
Merge pull request #1 from Bharat123rox/patch-1
Browse files Browse the repository at this point in the history
Create README.md
  • Loading branch information
Genius1237 committed May 8, 2019
2 parents 924942e + f7229a0 commit ea84219
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
@@ -0,0 +1,27 @@
## Self Driving Cars in Video Games using Deep Learning

### Contents
- [Installation](#Installation)
- [Input](#Input)
- [Usage](#Usage)


### Installation
This model is built in top of PyTorch, follow the installation instructions from PyTorch [here](https://pytorch.org/get-started/locally/).

To install dependencies, do
```bash
pip install -r requirements.txt
```

### Input
Currently, only the **Windows OS** is supported due to the `win32gui` requirements for screen grabbing / input capture.
The `screen_capture.py`, `grabscreen.py`, `directkeys.py` and `getkeys.py` scripts handle screen capturing, image grabbing and keypress event recording.

### Usage
```bash
python train_il.py --data <path-to-train-data> --model <name-of-model-architecture> --batch-size
<batch-size-for-train> --n-epochs <no-of-epochs> --device <cpu/cuda>
```
which trains the model for Imitation Learning.

0 comments on commit ea84219

Please sign in to comment.