dhruvp / wbc-classification Goto Github PK
View Code? Open in Web Editor NEWClassifying White Blood Cells with CNNs
Classifying White Blood Cells with CNNs
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?
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~
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~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.