Skip to content

birashk/basic-GANcycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Uploading README.md.txt…

# Dollar Image Generation using GAN (TensorFlow)

This project demonstrates a simple implementation of a **Generative Adversarial Network (GAN)** using **TensorFlow / Keras** for generating grayscale images resembling dollar images.

The model is trained on a custom image dataset and gradually learns to produce synthetic images through adversarial training.

---

## Features
- Basic GAN architecture (Generator & Discriminator)
- Implemented with TensorFlow 2 and Keras
- Supports custom image datasets
- Periodic image generation during training
- Automatic model checkpoint saving
- Clean and easy-to-read codebase

---

## Project Structure

├── dollar_images/ # Input training images

├── generated_images2/ # Generated samples during training

├── checkpoints/ # Saved model checkpoints

├── train_gan.py # GAN training script


---

## Dataset
All training images should be placed inside the `dollar_images/` directory.

**Dataset details:**
  - Supported formats: `.jpg`, `.png`
  - Images are automatically:
  - Converted to grayscale
  - Resized to 28×28
  - Normalized to the range [-1, 1]

Example:

dollar_images/

├── sample1.jpg

├── sample2.png

├── sample3.jpg

---

## Requirements
Install the required dependencies using pip:
```bash
pip install tensorflow numpy matplotlib pillow


How to Run

  1. Place your training images inside the dollar_images/ directory.
  2. Make sure all required dependencies are installed.
  3. Run the training script using the following command:
python train_gan.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors