---
title: pixel
canonical_url: "https://www.modelscope.cn/models/chatpig/pixel"
md_url: "https://www.modelscope.cn/models/chatpig/pixel.md"
repository: chatpig/pixel
last_updated: 2026-03-18
license: mit
parameters: 2.0M
tensor_type:
  - F32
  - I64
library_name:
  - gguf
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 39
stars: 0
---

# pixel

> pixel - chatpig 在 ModelScope 开源的模型。A PyTorch-based Generative Adversarial Network (GAN) for training and generating pixel art images.

chatpig/pixel 是 ModelScope 魔搭社区上的 2.0M 参数机器学习模型，采用 mit 许可。

- **Repository**: chatpig/pixel
- **License**: mit
- **Parameters**: 2.0M
- **Downloads**: 39
- **Stars**: 0
- **Last updated**: 2026-03-18

Source: https://www.modelscope.cn/models/chatpig/pixel

---

# 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
```

![screenshot](https://raw.githubusercontent.com/mochiyaki/pixel/master/running.png)

* kick start the training process with defined script

![screenshot](https://raw.githubusercontent.com/mochiyaki/pixel/master/graph.png)

* 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
```

![screenshot](https://raw.githubusercontent.com/mochiyaki/pixel/master/demo.gif)

* 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`
