GithubHelp home page GithubHelp logo

narmadabalasooriya / cnn-for-brain-tumor Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 6.0 14 KB

A Convolutional Neural Network Model for Brain Tumor Classification

License: MIT License

Python 100.00%

cnn-for-brain-tumor's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @NarmadaBalasooriya
  • ๐Ÿ‘€ Iโ€™m interested in Deep Learning, Computer Vision and Robotics
  • ๐ŸŒฑ Iโ€™m currently learning ROS,SLAM,VLOAM, Operating Systems, Parallel Computing
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on Deep Learning and Computer Vision for autonomous vehicles
  • ๐Ÿ“ซ How to reach me - [email protected], +1(709)219-0953

cnn-for-brain-tumor's People

Contributors

narmadabalasooriya avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

cnn-for-brain-tumor's Issues

Encountering 'ValueError: Cannot have number of splits n_splits=6 greater than the number of samples: 0.' while running proposed_model.py and model_long_v8.py

I am encountering following message while running proposed_model.py:

(brainss) D:\brain tumor\CNN-for-Brain-Tumor-master\CNN-for-Brain-Tumor-master>python proposed_model.py
C:\Users\shauryasisodia\Anaconda2\envs\brainss\lib\site-packages\sklearn\cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
curses is not supported on this machine (please install/reinstall curses for an optimal experience)
pickle file open
pickle opened
WARNING:tensorflow:From C:\Users\shauryasisodia\Anaconda2\envs\brainss\lib\site-packages\tflearn\initializations.py:119: UniformUnitScaling.init (from tensorflow.python.ops.init_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior.
layer 1
layer 2
layer 3
layer 4
layer 5
layer 6
layer 7
layer 8
layer 9
WARNING:tensorflow:From C:\Users\shauryasisodia\Anaconda2\envs\brainss\lib\site-packages\tflearn\objectives.py:66: calling reduce_sum (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
2019-02-16 21:00:14.154980: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
model created done
Traceback (most recent call last):
File "proposed_model.py", line 134, in
for train_index, test_index in kf.split(allX):
File "C:\Users\shauryasisodia\Anaconda2\envs\brainss\lib\site-packages\sklearn\model_selection_split.py", line 320, in split
n_samples))
ValueError: Cannot have number of splits n_splits=6 greater than the number of samples: 0.

and these messages while running model_long_v8.py:

(brainss) D:\brain tumor\CNN-for-Brain-Tumor-master\CNN-for-Brain-Tumor-master>python proposed_model.py
C:\Users\shauryasisodia\Anaconda2\envs\brainss\lib\site-packages\sklearn\cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
curses is not supported on this machine (please install/reinstall curses for an optimal experience)
pickle file open
pickle opened
WARNING:tensorflow:From C:\Users\shauryasisodia\Anaconda2\envs\brainss\lib\site-packages\tflearn\initializations.py:119: UniformUnitScaling.init (from tensorflow.python.ops.init_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior.
layer 1
layer 2
layer 3
layer 4
layer 5
layer 6
layer 7
layer 8
layer 9
WARNING:tensorflow:From C:\Users\shauryasisodia\Anaconda2\envs\brainss\lib\site-packages\tflearn\objectives.py:66: calling reduce_sum (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
2019-02-16 21:00:14.154980: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
model created done
Traceback (most recent call last):
File "proposed_model.py", line 134, in
for train_index, test_index in kf.split(allX):
File "C:\Users\shauryasisodia\Anaconda2\envs\brainss\lib\site-packages\sklearn\model_selection_split.py", line 320, in split
n_samples))
ValueError: Cannot have number of splits n_splits=6 greater than the number of samples: 0.

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.