GithubHelp home page GithubHelp logo

shunk031 / chainer-skin-lesion-detector Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 5.0 3.1 MB

Skin Lesion Detector using HAM10000 dataset with Chainer / ChainerCV

License: MIT License

Python 96.01% Dockerfile 3.99%
chainer chainercv medical medical-image-processing skin-lesion skin-lesion-detection

chainer-skin-lesion-detector's Introduction

Chainer Skin Lesion Detector

MIT

Skin Lesion Detector using HAM10000 dataset with Chainer

Requirements

  • Python 3.6
  • Chainer 5.0
  • ChainerCV 0.11
  • cupy-cuda90
  • opencv 3.4
$ pip install -r requirements.txt

Setup environment using Docker

$ docker build -t chainer-skin-lesion-detector .
$ docker run --rm -it -v $(pwd):/chainer-skin-lesion-detector --runtime nvidia --name chainer-skin-lesion-detector-dev chainer-skin-lesion-detector /bin/bash

Directory architecture

.
├── data
│   ├── ISIC2018_Task1-2_Training_Input
│   ├── ISIC2018_Task1_Training_GroundTruth
│   ├── preprocessed
│   │   ├── ground_truth
│   │   └── input
│   └── xml
└── src
    ├── models
    │
    ├── notebooks
    │
    ├── result
    └── util

Download dataset

Preprocess

  • Re-scale image and ground truth
  • Make bounding box from ground truth of segmentation image
  • Create VOC format based label to data/xml directory
$ python make_dataset.py --loaderjob 4

An example of annotation data with a bounding box from the ground truth of segmentation using ISIC2018 task1 dataset:

Train

  • You can specify model, number of batch size, number of epoch, GPU ID and number of parallel data loading process.
$ python main.py --model ssd300 --batchsize 32 --epoch 30 --gpu 0 --loaderjob 4

Evaluation

Example of model prediction

Reference

chainer-skin-lesion-detector's People

Contributors

shunk031 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chainer-skin-lesion-detector's Issues

About Evaluation

Sorry, just want to know how to evaluate training? I don't know how to get the last four pictures of the evaluation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.