epicalyx / ALL-Keras-2019

An Acute Lymphoblastic Leukemia CNN programmed in Python using Keras. Project by research intern Taru Jain, and Amita Kapoor.

Home Page:https://www.petermossamlallresearch.com/research/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Peter Moss Acute Myeloid & Lymphoblastic Leukemia AI Research Project

Acute Lymphoblastic Leukemia Keras Classifier 2019

CURRENT DEV BRANCH

Peter Moss Acute Myeloid / Lymphoblastic Leukemia AI Research Project

An Acute Lymphoblastic Leukemia classifier programmed in Python using Keras. Project by research intern Taru Jain, and Amita Kapoor.

This project aims to classify Acute Lymphoblastic Leukemia Cells from blood sample images with the aid of deep learning techniques.

Model

The model used in this work is based on this research work

Quantization

The model has been converted to its quantized version, so that it can be deployed on edge devices.

 

Getting Started

To get started make sure your system meets the following requirements:

Hardware

Google Colab GPU

Software

  • Google Colab
  • Keras (ver 2.2.5)
  • Tensorflow (ver 1.15.0)

 

Clone latest development branch

First of all you should clone the ALL-Keras-2019 repository from the Peter Moss Acute Myeloid & Lymphoblastic Leukemia AI Research Project Github Organization.

To do this, make sure you have Git installed, navigate to the location you want to clone the repository to on your device using terminal/commandline, and then use the following command.

The -b "0.0.1" parameter ensures you get the code from the latest development branch. Before using the below command please check our latest development branch in the button at the top of this page.

  $ git clone -b "0.0.1" https://github.com/AMLResearchProject/ALL-Keras-2019.git

Once you have used the command above you will see a directory called ALL-Keras-2019 in the location you chose to clone to. In terminal, navigate to the *ALL-Keras-2019 directory, this is your project root directory.

Acute Lymphoblastic Leukemia Image Database for Image Processing dataset

You need to be granted access to use the Acute Lymphoblastic Leukemia Image Database for Image Processing dataset. You can find the application form and information about getting access to the dataset on this page as well as information on how to contribute back to the project here. If you are not able to obtain a copy of the dataset please feel free to try this tutorial on your own dataset, we would be very happy to find additional AML & ALL datasets.

ALL-IDB2

In this project, ALL-IDB2 is used, one of the datsets from the Acute Lymphoblastic Leukemia Image Database for Image Processing dataset. We will use data augmentation to increase the amount of training and testing data we have.

"The ALL_IDB2 version 1.0 can be used both for testing segmentation capability of algorithms, as well as the classification systems and image preprocessing methods. This dataset is composed of 108 images collected during September, 2005. It contains about 39000 blood elements, where the lymphocytes has been labeled by expert oncologists. The images are taken with different magnifications of the microscope ranging from 300 to 500."

 

Use this project

Follow the guides below to build your Acute Lymphoblastic Leukemia Keras Classifier.

  • Clone the repo as mentioned above
  • Navigate to AML/ResearchProject/ALL-Keras-2019/ and open the ALLKCNN2019 notebook in google colab and change runtime to GPU to accelerate training (although it may work just fine without GPU support as well).

To change runtime in google colab, go to Runtime-> Change Runtime Type-> Select GPU under Hardware Accelerator and save

  • We can now explore and run the notebook
  • Weight files are present under the Model folder!

 

Contributing

The Peter Moss Acute Myeloid & Lymphoblastic Leukemia AI Research project encourages and welcomes code contributions, bug fixes and enhancements from the Github.

Please read the CONTRIBUTING document for a full guide to forking our repositories and submitting your pull requests. You will also find information about our code of conduct on this page.

Contributors

 

Versioning

We use SemVer for versioning. For the versions available, see Releases.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Bugs/Issues

We use the repo issues to track bugs and general requests related to using this project. See CONTRIBUTING for more info on how to submit bugs, feature requests and proposals.

About

An Acute Lymphoblastic Leukemia CNN programmed in Python using Keras. Project by research intern Taru Jain, and Amita Kapoor.

https://www.petermossamlallresearch.com/research/

License:MIT License


Languages

Language:Jupyter Notebook 100.0%Language:Python 0.0%