[Mne_analysis] ValueError: Input 0 of layer sequential_21 is incompatible with the layer: : expected min_ndim=3, found ndim=2. Full shape received: [1, 1]

Bhuvaneshwari M bhvnshwari at gmail.com
Wed Aug 26 23:14:41 EDT 2020
Search archives:

        External Email - Use Caution        

Hi everyone,
    I am new to python-EEG signal processing. Can you please help me to
sort out the following issue for the dataset of input  size (199603,16) and
target label in 17th column. It would be great help if someone interprets
this issue.

ValueError: in user code:
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py:806
train_function * return step_function(self, iterator)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py:796
step_function ** outputs = model.distribute_strategy.run(run_step,
args=(data,))
/usr/local/lib/python3.6/dist-packages/tensorflow/python/distribute/distribute_lib.py:1211
run return self._extended.call_for_each_replica(fn, args=args,
kwargs=kwargs)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/distribute/distribute_lib.py:2585
call_for_each_replica return self._call_for_each_replica(fn, args, kwargs)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/distribute/distribute_lib.py:2945
_call_for_each_replica return fn(*args, **kwargs)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py:789
run_step ** outputs = model.train_step(data)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py:747
train_step y_pred = self(x, training=True)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py:976
__call__ self.name)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/input_spec.py:196
assert_input_compatibility str(x.shape.as_list())) ValueError: Input 0 of
layer sequential_21 is incompatible with the layer: : expected min_ndim=3,
found ndim=2. Full shape received: [1, 1]
regards,

*M.Bhuvaneshwari,*
*Research Scholar,*
*Karunya Institute of technology and Sciences*

*Coimbatore.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200827/d20cd58b/attachment.html 


More information about the Mne_analysis mailing list