Skip to content

This repository contains a Generative Adversarial Network (GAN) implementation for generating synthetic breast cancer images using PyTorch. The GAN is trained on a dataset of breast cancer images.

Notifications You must be signed in to change notification settings

parsakhavarinejad/GAN_BreastCancerData_Pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Breast Cancer GAN using PyTorch

This repository contains a Generative Adversarial Network (GAN) implementation for generating synthetic breast cancer images using PyTorch. The GAN is trained on a dataset of breast cancer images.

Features

  • PyTorch Implementation: Utilizes the power of PyTorch for efficient deep learning model development.
  • GAN Architecture: Implements a Generative Adversarial Network with both generator and discriminator components.
  • Breast Cancer Image Synthesis: Generates synthetic breast cancer images to augment existing datasets.

Take a look at the final example of the generated image: Generated Image

The generator and discriminator loss plots are also available: Loss Plot

Additionally, the saved models are G.pth (Generator) and D.pth (Discriminator).

Usage

  1. Data Preparation: Ensure your breast cancer image dataset is appropriately organized.
  2. Training: Run the entire notebook to train the GAN on the dataset.
  3. Inference: Generate synthetic images using the trained GAN model.

Feel free to explore and contribute to further advancements in synthetic image generation for breast cancer research.

Requirements

  • PyTorch
  • The dataset available on Kaggle

Acknowledgments

This work is inspired by the potential of GANs in medical image synthesis and contributes to the ongoing efforts in breast cancer research.

About

This repository contains a Generative Adversarial Network (GAN) implementation for generating synthetic breast cancer images using PyTorch. The GAN is trained on a dataset of breast cancer images.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published