Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mjahmadee/conditional_dcgan

Conditional DCGAN
https://github.com/mjahmadee/conditional_dcgan

conditional-dcgan conditional-gan dcgan gan

Last synced: 28 days ago
JSON representation

Conditional DCGAN

Awesome Lists containing this project

README

        

# Conditional Deep Convolutional Generative Adversarial Network (Conditional DCGAN)

![Python](https://img.shields.io/badge/Python-3.8-blue.svg)
![PyTorch](https://img.shields.io/badge/PyTorch-1.8.1-orange.svg)
![License](https://img.shields.io/badge/License-MIT-green.svg)

This project implements a Conditional DCGAN using PyTorch to generate synthetic images conditioned on class labels. The implementation is tested on the BreastMNIST dataset, part of the MedMNIST collection.

## Features ๐ŸŒŸ
- Uses Conditional GAN architecture to generate images conditioned on class labels.
- Efficient training with GPU acceleration.
- Integration with MedMNIST for medical image synthesis.
- Visualization of generated images and training loss metrics.
- Customizable training parameters and model architecture.

## Setup and Installation ๐Ÿ› ๏ธ
1. Clone the repository from GitHub.
2. Navigate to the project directory.
3. Install the required dependencies listed in the `requirements.txt` file.

## Dataset ๐Ÿ“
The project uses the BreastMNIST dataset, which is a subset of the MedMNIST collection. This dataset comprises mammography images labeled as normal or abnormal.

## Training the Model ๐Ÿš€
Execute the training script to start the training process. The script trains both the generator and discriminator, displaying the loss for each epoch and saving model checkpoints.

## Generating Images ๐Ÿงช
After training, use the generator model to synthesize new images conditioned on specific class labels. This demonstrates the model's ability to generate diverse and realistic images based on the learned data distribution.

## Results and Evaluation ๐Ÿ“Š
The generated images can be evaluated qualitatively by visual inspection and compared with real images to assess the generative model's performance.

## License ๐Ÿ“œ
This project is licensed under the MIT License - see the LICENSE file for details.

## Acknowledgements ๐Ÿ™Œ
- Thanks to the creators of the MedMNIST dataset for providing the medical images used in training and testing the model.

---
For more information and to contribute, please refer to the [official repository](https://github.com/MJAHMADEE/Conditional_DCGAN).