Classification and Segmentation with Mask-RCNN of Skin Cancer by ISIC dataset
-
Download the dataset from https://isic-archive.com/
- You can download it from https://github.com/GalAvineri/ISIC-Archive-Downloader
To download the whole archive:
python3 download_archive.py -s
At the end, the directory of the data should be like this:
Data/ ├── Images/ (containing the .jpg file) ├── Descriptions/ (containing the json file) └── Segmentation/ (containing the .png file)
- You can download it from https://github.com/GalAvineri/ISIC-Archive-Downloader
To download the whole archive:
-
Download the dependency of the project:
pip3 install -r requirements.txt
-
Create the model:
python3 main.py
- You also have to download the Coco Model, that you can find here: https://github.com/matterport/Mask_RCNN/releases/download/v2.0/mask_rcnn_coco.h5
-
Test the model:
python3 test.py
Original image
Classify and Segment image