[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
Thu Aug 27 03:24:04 EDT 2020
Search archives:

        External Email - Use Caution        

thank you so much for your suggestion. I will try in MNE
regards,

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

*Coimbatore.*


On Thu, Aug 27, 2020 at 12:35 PM Alexandre Gramfort <
alexandre.gramfort at inria.fr> wrote:

>         External Email - Use Caution
>
> hi,
>
> if you want to get started with deep learning using MNE I would suggest:
>
> https://braindecode.org/
>
> Alex
>
> On Thu, Aug 27, 2020 at 5:09 AM Bhuvaneshwari M <bhvnshwari at gmail.com>
> wrote:
> >
> >         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.
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200827/467fa16a/attachment.html 


More information about the Mne_analysis mailing list