GithubHelp home page GithubHelp logo

wbc-classification's People

Contributors

dhruvp 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wbc-classification's Issues

the accuracy running vgg_traing.py is very low

hello, I try your vgg_traing.py, but the accuracy is 0.056338028169 when I finally run the the command accuracy_score(y_test_simple, y_pred)

why it is so low? can you give some advice?

how to test an image?

hello, I just see the trainning code in your repository,but how to test an image of 'EOSINOPHIL','LYMPHOCYTE','MONOCYTE' or 'NEUTROPHIL'?
thank you very much~

how use training.ipynb?

hello, I want to run your training.ipynb,but it shows error:

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-5-49c49b99292b> in <module>()
     26 encoded_y = encoder.transform(y)
     27 
---> 28 y = np_utils.to_categorical(encoded_y)

/home/xxx/local/anaconda2/lib/python2.7/site-packages/keras/utils/np_utils.pyc in to_categorical(y, num_classes)
     20     y = np.array(y, dtype='int').ravel()
     21     if not num_classes:
---> 22         num_classes = np.max(y) + 1
     23     n = y.shape[0]
     24     categorical = np.zeros((n, num_classes))

/home/xxx/local/anaconda2/lib/python2.7/site-packages/numpy/core/fromnumeric.pyc in amax(a, axis, out, keepdims)
   2250 
   2251     return _methods._amax(a, axis=axis,
-> 2252                           out=out, **kwargs)
   2253 
   2254 

/home/xxx/local/anaconda2/lib/python2.7/site-packages/numpy/core/_methods.pyc in _amax(a, axis, out, keepdims)
     24 # small reductions
     25 def _amax(a, axis=None, out=None, keepdims=False):
---> 26     return umr_maximum(a, axis, None, out, keepdims)
     27 
     28 def _amin(a, axis=None, out=None, keepdims=False):

ValueError: zero-size array to reduction operation maximum which has no identity

how to fix it?
thank you very much~

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.