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.