File size: 875 Bytes
b45e3ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: DCGAN MNIST Generator
emoji: 🖼️
colorFrom: blue
colorTo: gray
sdk: gradio
sdk_version: 3.50.0
app_file: app.py
pinned: false
---

# DCGAN MNIST Generator

This repository contains a Deep Convolutional GAN (DCGAN) trained on the MNIST dataset. The model generates handwritten-like digit images from random noise.

## Model Architecture

The model implementation is based on the paper [Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks](http://arxiv.org/abs/1511.06434).

- Generator architecture: 5 transposed convolutional layers with batch normalization
- Latent space dimension: 100
- Output: 64x64 grayscale images

## Demo App

The included Gradio app allows you to generate new MNIST-like images using the pre-trained model.

### Running Locally

1. Install dependencies:
```bash
pip install -r requirements.txt