Update README

This commit is contained in:
Dominik Moritz Roth 2024-10-03 23:26:07 +02:00
parent e7e7c81d29
commit 70ed9d38ed
2 changed files with 35 additions and 0 deletions

View File

@ -259,4 +259,39 @@ What? Why would you wanna cite it? What are you even doing?
url = {https://git.dominik-roth.eu/dodox/NuCon}, url = {https://git.dominik-roth.eu/dodox/NuCon},
year = {2024}, year = {2024},
} }
```
---
![NuCon Meme](README_meme.jpg)
To use you'll need to install the following packages:
```bash
pip install pillow
```
### Usage:
```python
from nucon.drake import create_drake_meme
items = [
(False, "Play Nucleares manually"),
(True, "Automate it with a script"),
(False, "But the web interface is tedious to use"),
(True, "Write an elegant libary to interface with the game and then use that to write the script"),
(False, "But I would still need to write the control policy by hand"),
(True, "Let's extend the libary such that it trains a policy via Reinforcement Learning"),
(False, "But RL is takes a huge number of training samples"),
(True, "Extend the libary to also include an efficient simulator"),
(False, "But I don't know what the actual internal dynamics are"),
(True, "Extend the libary once more to also include a neural network dynamics model"),
(True, "And I'm gonna put a drake meme on the README"),
(False, "Online meme generators only support a single yes/no pair"),
(True, "Let's also add a drake meme generator to the libary"),
]
meme = create_drake_meme(items)
meme.save("README_meme.jpg")
``` ```

BIN
README_meme.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 KiB