Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhw32/derm-ai
Machine Learning for Skin Disease Classification
https://github.com/mhw32/derm-ai
deep-neural-networks mole skin-detection
Last synced: 16 days ago
JSON representation
Machine Learning for Skin Disease Classification
- Host: GitHub
- URL: https://github.com/mhw32/derm-ai
- Owner: mhw32
- Created: 2017-09-23T18:19:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-25T05:32:38.000Z (over 3 years ago)
- Last Synced: 2024-03-18T05:10:48.561Z (9 months ago)
- Topics: deep-neural-networks, mole, skin-detection
- Language: Python
- Size: 19.8 MB
- Stars: 83
- Watchers: 10
- Forks: 43
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DermAI
Deep convolutional network to predict 23 classes of skin diseases found in http://www.dermnet.com/dermatology-pictures-skin-disease-pictures from raw images. We make use of a pretrained ResNet152 since many visual semantics like edges or object shapes should be transferrable from Imagenet. We append 2 fully connected layers to fine-tune for our use case.
This project is an entry to API World Hackathon 2017.
## Installation
Run the `setup.sh` script to download raw images and ResNet152 embeddings. The script will also download a trained model (this is a 2-fully-connected network stacked on top of ResNet152). Unzipping the files should produce the following folders: `train/`, `test/`, `train_emb/`, `test_emb/`. `trained_models` includes a trained version of the fine-tune net with 0.53 percent accuracy on held-out test data.
To install all the libraries needed, run `pip install -r requirements.txt`.
## Instructions
To start the Flask app, do `python run.py`. There is a single POST route (`/predict`) that takes a JSON from key `image` to a base64 encoded image. It will return a `class` and a `score`.