https://github.com/fakorede/csc-7333-skin-cancer-classification
https://github.com/fakorede/csc-7333-skin-cancer-classification
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fakorede/csc-7333-skin-cancer-classification
- Owner: Fakorede
- License: gpl-3.0
- Created: 2025-03-26T00:20:38.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-28T04:37:11.000Z (2 months ago)
- Last Synced: 2025-03-28T05:25:24.865Z (2 months ago)
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSC-7333-Skin-Cancer-Classification
## Setup
```shell
# clone repo
$ git clone https://github.com/Fakorede/CSC-7333-Skin-Cancer-Classification.git
$ cd CSC-7333-Skin-Cancer-Classification# create environment
$ conda create -n skin-env python=3.10 -y
$ conda activate skin-env# install dependencies
$ pip install -r requirements.txt
```## Folder Structure
```
project_root/
├── data/ # dataset in standard image classification format
├── models/ # trained model parameters
├── data_preprocessing.ipynb # notebok for processing data
├── download_data.py # script for downloading data
├── exploratory-data-analysis.ipynb # notebook for exploring data
├── main.py # functions to train&test
├── model.py # build models
├── train.py # train PyTorch models
├── SkinDataset.py # transform the images into tensors
└── utils.py # utility functions
```## Run
```shell
# download dataset
$ python3 download_data.py# play with notebooks
$ jupyter notebook# sample command to train model
$ python3 main.py --model resnet --batch-size 32 --lr 0.001 --num-epochs 10
```