pbashivan / EEGLearn

A set of functions for supervised feature learning/classification of mental states from EEG based on "EEG images" idea.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

downsample issue

ShibaPrasad opened this issue · comments

Hi pbashivan,

I am getting below error. I thinking i have installed everything correct. Please help on this and struct

Using gpu device 0: Tesla K40c (CNMeM is disabled, cuDNN 5110)
Traceback (most recent call last):
File "/home/shiba/Desktop/Note/EEGLearn-master/eeglearn/eeg_cnn_lib.py", line 17, in
import lasagne
File "/home/shiba/anaconda2/lib/python2.7/site-packages/lasagne/init.py", line 24, in
from . import layers
File "/home/shiba/anaconda2/lib/python2.7/site-packages/lasagne/layers/init.py", line 7, in
from .pool import *
File "/home/shiba/anaconda2/lib/python2.7/site-packages/lasagne/layers/pool.py", line 6, in
from theano.tensor.signal import downsample
ImportError: cannot import name downsample

resolved the issue.
i would like to extend it into LSTN network ....please give me some suggestions.

Are you getting an error when running the LSTM?

I am able to run the program.
I am referring your code and trying to enhance (Please recommend me if anything). Basically i am concentrating on ML side and no EEG data available with me. Would you suggest any dataset so that I will refer for my work.

Would it be possible to ask few question:
On sample data directory you have provided below files
FeatureMat_timeWin.mat
Neuroscan_locs_orig.mat
trials_subNums.mat

Are these 3 files needed for your whole paper implementation.

They contain the extracted EEG features, electrode 3D locations, and subject numbers.

Here is a description of what those files contain:
https://github.com/pbashivan/EEGLearn/blob/master/Sample%20data/README.txt

I'm closing this, feel free to reopen if any issues remain.