| | --- |
| | license: mit |
| | --- |
| | # pixel |
| |
|
| | A PyTorch-based Generative Adversarial Network (GAN) for training and generating pixel art images. |
| |
|
| | ## Setup for model training |
| |
|
| | Git clone the pixel repo: |
| | ``` |
| | git clone https://github.com/mochiyaki/pixel |
| | ``` |
| |
|
| | Get inside the cloned folder: |
| | ``` |
| | cd pixel |
| | ``` |
| |
|
| | ## Train your model |
| |
|
| | Start training with your dataset (in ./data/): |
| | ``` |
| | python trainer.py |
| | ``` |
| |
|
| |  |
| |
|
| | * kick start the training process with defined script |
| |
|
| |  |
| |
|
| | * check the training epoch (currently 50); see the example plot above |
| |
|
| | ## Interact with the established model |
| |
|
| | When finished, check the model file (in ./models/) then run the inference: |
| | ``` |
| | python generator.py |
| | ``` |
| |
|
| |  |
| |
|
| | * for technical details, please check it out from [this repo](https://github.com/mochiyaki/pixel) |
| |
|
| | ## alternatively opt to run `ggc px` with `gguf-connector` |
| |
|
| | --- |
| |
|
| | # turtle |
| |
|
| | Flexable backend and frontend applications - pixel 🍕🐢 turtle |
| |
|
| | * please refer to repo [turtle](https://github.com/mochiyaki/turtle) |
| |
|
| | ## opt to load gguf file and activate the turtle backend with `ggc pz` |