Coder Social home page Coder Social logo

includeamin / wbc-classification Goto Github PK

View Code? Open in Web Editor NEW
23.0 4.0 5.0 111.49 MB

Classification of WBC ( White Blood Cells ) with CNN . (Convolutional Neural Network)

Home Page: https://includeamin.github.io/WBC-Classification/

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
deep-learning cnn cnn-keras neural-network convolutional-neural-networks wbc white-blood-cell-detection white-blood-cell-segmentation wbc-classification classification

wbc-classification's Introduction

WBC-Classification

Classification of WBC ( White Blood Cells ) with CNN . (Convectional Neural Network)

Donate

HitCount

DATASET

Requirements

Keras==2.1.5
numpy==1.18.1
matplotlib==3.1.1
imutils==0.5.3
scikit_learn==0.23.1

Train and save trained model

Use this command to train the model and save model

git clone 
cd WBC-Classification
python3 learning.py -d ./CNN/datasets/TRAIN/ -m ./TrainedModel/model_epoch_100.hdf5

after train you will see result plot:

Test the model

python3 load_test_model.py -d ./CNN/datasets/TEST -m ./TrainedModel/model_epoch_100.hdf5

NOTE

default epoch count is 100. for change it, just edit cp variable in learning.py

Todo

  • more customizable

wbc-classification's People

Contributors

includeamin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wbc-classification's Issues

where is datasets and model file?

datasets is missing otherwise put a link for datasets.....model file also not include please update you Readme file for instruction help to others

value error low >= high

File "test_model.py", line 75, in
idxs = np.random.randint(0, len(imagePaths), size=(10,))
File "mtrand.pyx", line 630, in numpy.random.mtrand.RandomState.randint
File "bounded_integers.pyx", line 1228, in numpy.random.bounded_integers._rand_int64
ValueError: low >= high

value error for test_model.py file

File "test_model.py", line 75, in
idxs = np.random.randint(0, len(imagePaths), size=(10,))
File "mtrand.pyx", line 630, in numpy.random.mtrand.RandomState.randint
File "bounded_integers.pyx", line 1228, in numpy.random.bounded_integers._rand_int64
ValueError: low >= high

Unsupported image shape: ()
preprocessor not enough values to unpack (expected 3, got 2)
Unsupported image shape: ()

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.