Skip to content

An Acute Lymphoblastic Leukemia classifier trained using Intel Distribution for Python and Intel Optimized Tensorflow (Tensorflow 2.1), and using OpenVINO to deploy the model on UP2 & Raspberry Pi.

License

AMLResearchProject/all-oneapi-classifier-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peter Moss Acute Myeloid & Lymphoblastic Leukemia AI Research Project

oneAPI Acute Lymphoblastic Leukemia Classifier

OneAPI Acute Lymphoblastic Leukemia Classifier

CURRENT RELEASE UPCOMING RELEASE Contributions Welcome! Issues LICENSE

 

Table Of Contents

 

Introduction

OneAPI Acute Lymphoblastic Leukemia Classifier

Fig 1. Proposed architecture (Source)

The oneAPI Acute Lymphoblastic Leukemia Classifier is an open-source classifier trained using the Intel® Distribution for Python* and Intel® Optimization for TensorFlow* (Tensorflow 2.1), and using Intel® Distribution of OpenVINO™ Toolkit to deploy the model on UP2 & Raspberry Pi for use with Intel Movidius Neural Compute Stick 2.

We will create a network based on the proposed architecture in the Acute Leukemia Classification Using Convolution Neural Network In Clinical Decision Support System paper, and will use the ALL-IDB1 dataset from the Acute Lymphoblastic Leukemia Image Database for Image Processing dataset by Fabio Scotti.

This project is compatible with the Acute Lymphoblastic Detection System feature of HIAS.

 

DISCLAIMER

These projects should be used for research purposes only. The purpose of the projects is to show the potential of Artificial Intelligence for medical support systems such as diagnosis systems.

Although the classifiers are accurate and show good results both on paper and in real world testing, they are not meant to be an alternative to professional medical diagnosis.

Developers that have contributed to this repository have experience in using Artificial Intelligence for detecting certain types of cancer. They are not doctors, medical or cancer experts.

Please use this system responsibly.

 

Acute Lymphoblastic Leukemia

Acute Lymphoblastic Leukemia (ALL), also known as Acute Lymphocytic Leukemia, is a cancer that affects the Lymphoid blood cell lineage. Unlike AML, ALL only affects the white blood cells, namely, Lymphocytes. Lymphocytes include B Cells, T Cells and NK (Natural Killer) cells. ALL is caused by Lymphoid Blasts, or Lymphoblasts, developing into immature Lymphocytes, and an abnormal amount of these immature Lymphocytes are produced. Lymphocytes are white blood cells and play a very important role in the immune system helping to fight off diseases.

Acute Lymphoblastic Leukemia is most commonly found in children, and is the most common form of child cancer, with around 3000 cases a year in the US alone. Like Acute Myeloid Leukemia, although common, it is still quite rare. In both children and adults, early detection is critical. Treatment must start immediately due to the aggressiveness of the cancer. More info.

 

ALL-IDB

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_IDB1

In this project, ALL-IDB1 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_IDB1 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."

 

Intel® oneAPI Toolkits (Beta)

Intel® oneAPI Toolkits (Beta) Intel® oneAPI Toolkits are a collection of toolkits that provide the tools to optimize training and running inference on Artificial Intelligence models, maximizing the use of Intel architecture, including CPU, GPU, VPU and FPGA.

 

Intel® Distribution for Python

Intel® Distribution for Python Intel® Distribution for Python enhances standard Python and helps to speed up popular AI packages such as Numpy, SciPy and Scikit-Learn.

 

Intel® Optimization for TensorFlow

Intel® Optimization for TensorFlow optimizes the popular Tensorflow framework using Intel® Math Kernel Library for Deep Neural Networks (Intel® MKL-DNN). Intel® MKL-DNN is an open-source library for enhancing performance by accelerating deep learning libraries such as Tensorflow on Intel architecture.

 

Intel® Distribution of OpenVINO™ Toolkit

Intel® Distribution of OpenVINO™ Toolkit Intel® Distribution of OpenVINO™ Toolkit is based on Convolutional Neural Networks and optimizes models used on Intel CPUs/GPUs, VPUs, FPGA etc. Models are converted to Intermediate Representations (IR) which allow them to be used with the Inference Engine.

 

Intel® Movidius™ Neural Compute Stick 2

Intel® Movidius™ Neural Compute Stick 2 The Intel® Movidius™ Neural Compute Stick 2 is a USB plug & play AI device for deep learning inference at the edge. Combined with the Intel® OpenVINO™ Toolkit, developers can develop, fine-tune, and deploy convolutional neural networks (CNNs) on low-power applications that require real-time inference.

 

Projects

There are three projects included in this repository: CNN, RPI4 & UP2.

Project Description Author
OneAPI Acute Lymphoblastic Leukemia Classifier CNN The OneAPI Acute Lymphoblastic Leukemia Classifier CNN is the main project, this is the project that you will use to train your Acute Lymphoblastic Leukemia classifier, freeze the model and convert the model to an Intermediate Representation so that it can be used with OpenVINO. Adam Milton-Barker
OneAPI Raspberry Pi 4 Acute Lymphoblastic Leukemia Classifier The OneAPI Raspbeery Pi 4 Acute Lymphoblastic Leukemia Classifier is a project that allows you to run your model on a Raspberry Pi 4 using OpenVINO. The project includes IoT connectivity using the HIAS iotJumpWay broker meaning it can be used with any of the HIAS detection systems. Adam Milton-Barker
OneAPI UP2 Acute Lymphoblastic Leukemia Classifier The OneAPI UP2 Acute Lymphoblastic Leukemia Classifier is a project that allows you to run your model on a UP2 using OpenVINO. The project includes IoT connectivity using the HIAS iotJumpWay broker meaning it can be used with any of the HIAS detection systems. Adam Milton-Barker

 

Compatible Projects

These projects are compatible with the following projects.

Project Description Author
HIAS ALL Detection System The HIAS Acute Lymphoblastic Leukemia Detection System (CNN) is based on the proposed architecture in the Acute Leukemia Classification Using Convolution Neural Network In Clinical Decision Support System paper, using the Acute Lymphoblastic Leukemia Image Database for Image Processing dataset. Adam Milton-Barker
Magic Leap 1 ALL Detection System The Magic Leap 1 Acute Lymphoblastic Leukemia Detection System 2020 uses Tensorflow 2, Raspberry Pi 4 & Magic Leap 1 to provide a Spatial Computing/Mixed Reality ALL detection system. Adam Milton-Barker
Oculus Rift ALL Detection System The Oculus Rift Acute Lymphoblastic Leukemia Detection System 2020 uses Tensorflow 2, Raspberry Pi 4 & Oculus Rift to provide a Virtual Reality ALL detection system. Adam Milton-Barker

 

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.

 

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 classifier trained using Intel Distribution for Python and Intel Optimized Tensorflow (Tensorflow 2.1), and using OpenVINO to deploy the model on UP2 & Raspberry Pi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published