Giter Club home page Giter Club logo

Comments (6)

pbashivan avatar pbashivan commented on May 18, 2024 1

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.

Ibrainscn avatar Ibrainscn commented on May 18, 2024

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.

pbashivan avatar pbashivan commented on May 18, 2024

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.

Ibrainscn avatar Ibrainscn commented on May 18, 2024

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.

pbashivan avatar pbashivan commented on May 18, 2024

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.

Ibrainscn avatar Ibrainscn commented on May 18, 2024

I see. Thanks so much. Really appreciate your help.

from eeglearn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.