This project consists of two parts:
This part of the project involves a comparative study for a binary classification problem using the ISIC dataset, specifically focusing on distinguishing between Melanoma (MEL) and Nevus (NEV) skin lesions. We employ two popular convolutional neural network architectures: ResNet50 and EfficientNetB4.
For data preprocessing, we applied two techniques:
- Hair Removal: To remove hair artifacts from the images.
- Color Constancy: To ensure consistent color representation across different images.
To replicate the experiments and evaluate the classification models:
- Download the ISIC dataset.
- Preprocess the data by removing hair artifacts and applying color constancy.
- Train ResNet50 and EfficientNetB4 models on the preprocessed dataset.
- Evaluate the models' performance using appropriate metrics such as accuracy, precision, recall, and F1-score.
In this part, we focus on generating synthetic Nevus skin lesion images using StyleGAN3, a state-of-the-art generative adversarial network (GAN) architecture.
We applied hair removal as the only preprocessing step to prepare the input data for StyleGAN3.
To generate synthetic Nevus skin lesion images:
- Prepare a dataset of Nevus skin lesion images.
- Preprocess the data by removing hair artifacts.
- Train a StyleGAN3 model on the preprocessed dataset to generate synthetic images.
- Fine-tune the model as necessary to improve the quality and diversity of generated images.
- StyleGAN3: Generated synthetic Nevus skin lesion images with high fidelity and diversity. Qualitative evaluation showed that the generated images exhibit realistic lesion characteristics.
Contributions are welcome! If you find issues or have suggestions for improvements, feel free to open an issue or submit a pull request.