File size: 3,582 Bytes
0db3761 225ba78 0db3761 a74d9f8 0db3761 a74d9f8 0db3761 a74d9f8 0db3761 a74d9f8 0db3761 a74d9f8 0db3761 a74d9f8 0db3761 a74d9f8 0db3761 a74d9f8 0db3761 8c8b046 2402a91 225ba78 8c8b046 |
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
---
license: mit
tags:
- gan
- progan
- generative-ai
- medical-imaging
- pytorch
language:
- en
library_name: pytorch
model-index:
- name: ProGAN-Mammography-NonLesion
results:
- task:
type: image-generation
name: Image Generation
dataset:
name: VinDr-Mammogram (subset)
type: medical-imaging
metrics:
- type: qualitative-evaluation
value: Visual realism of generated nodules
---
# ProGAN-Mammography-NonLesion-General
## 🖼️ Model Description
This model is an implementation of **Progressive Growing of GANs (ProGAN)**, meticulously trained to generate medical images of mammograms, most of which do not present malignant lesions. Its objective is to synthesize realistic images for data augmentation, research, or studying complex patterns in mammograms.
> This model is part of a broader research effort on the application of GANs in medical mammography imaging.
## ⚙️ Architecture Details
* **GAN Type:** Progressive Growing of GANs (ProGAN)
* **Generator:** The generator's architecture is defined in `progan_model.py`. This file includes the `Generator` class necessary to instantiate the model.
* **Generator Weights:** The main generator weights are found in the file `generator_size_512_119.pth`. This is the checkpoint with the highest resolution and training epoch achieved.
* **Critic/Discriminator Weights:** (Optional) The critic/discriminator weights are found in the file `critic_size_512_119.pth`.
## 📊 Training Dataset
The model was trained using the following dataset:
> This model was primarily trained using a subset of the 'VinDr-Mammogram' dataset, specifically curated to include only mammograms classified as **normal or benign without significant lesions**. The VinDr-Mammogram dataset was meticulously curated and labeled by experienced radiologists, and its labeling scheme is unique. This model was developed as part of a Bachelor's Final Project at the University of Extremadura (UEX).
It is recommended to review the original dataset documentation for more details on its composition and characteristics.
## 🚀 How to Use This Model
### Requirements
Make sure you have the following Python libraries installed:
```bash
pip install torch
pip install huggingface_hub
```
## 🖼️ Example Generated Image

MIT License
Copyright (c) 2025 Telmo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
|