Comments (6)
From the looks of it the error is caused by lasagne and probably due to differences in versions.
The code was tested with the following:
python 2.7
theano 0.8
lasagne 0.2.dev1
CUDA 8.0
I updated the setup file to included these.
from eeglearn.
Thanks a lot! I tried with exactly the above version.
It can run Loading data...
Generating images...
Interpolating 2594/2670Interpolating 2611/2670Interpolating 2630/2670Interpolating 2648/2670Interpolating 2665/2670
Training the CNN Model...
fold 1/13
Traceback (most recent call last):
And then give me the following error:
File "C:\Users\myUser\AppData\Local\Continuum\anaconda2\lib\site-packages\theano\tensor\type.py", line 47, in init
# broadcastable is immutable, and all elements are either
AttributeError: 'TheanoConfigParser' object has no attribute 'floatX'
from eeglearn.
I see. It's weird that having the same package versions you are still getting this error. Try setting this ENV variable when running the script.
THEANO_FLAGS='floatX=float32' python <script_name.py>
from eeglearn.
Finally, it works now! Thanks so much!!
For the topology-preserving projections of electrode locations (3D-->2D), I am just wondering the input for the following function is in 3D Cartesian Coordinates (x, y, z), right? That means your sample data Neuroscan_locs_orig.mat is a Neuroscan 64 EEG channels system in Cartesian Coordinates (x, y, z), right?
def azim_proj(position):
"""
Computes the Azimuthal Equidistant Projection of input point in 3D Cartesian Coordinates.
If I change the input "position" by using let's say Biosemi (another EEG system) 128 channel location files in Cartesian Coordinates. It should also work, right?
Thanks for your help and clarification.
from eeglearn.
Yes, the inputs are in Cartesian coordinates. It should work if you replace the channel coordinates with another one of your choice (in Cartesian coordinates).
from eeglearn.
I see. Thanks so much. Really appreciate your help.
from eeglearn.
Related Issues (20)
- the average power value in the FeatureMat_time HOT 3
- Which electrode corresponds to the three-dimensional coordinates HOT 3
- Hi, I reimplemented EEGLearn with tensorflow, and made it public HOT 1
- Extracting psd features HOT 1
- Parameters and configuration of the modified version of the Sternberg memory task. HOT 4
- Save Predictions HOT 5
- Applying EEGLearn on EEG Motor Movement/Imagery Dataset HOT 12
- the sample data structure HOT 4
- Can this be updated to Python >= 3.7 HOT 1
- There are some problems running the code
- There is a problem in extracting the 64 eigenvalues of the three frequency domains of the EEG signal HOT 4
- The function azim_proj(pos) HOT 1
- questions HOT 2
- Questions about training parameters HOT 1
- About the average power in your file "FeatureMat_time" HOT 4
- applied the baseline correction? HOT 1
- dataset
- Electrode Labels
- Little subset of raw EEG signals of ESRP
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eeglearn.