Giter VIP home page Giter VIP logo

Comments (7)

pbashivan avatar pbashivan commented on May 12, 2024

What data are you trying to load? Is it the sample_data or another dataset?

from eeglearn.

Twinkle123321 avatar Twinkle123321 commented on May 12, 2024

wow,thank you to answer my question,I'm trying to load the sample_data
should code be supported by GPU?

from eeglearn.

pbashivan avatar pbashivan commented on May 12, 2024

Code should be runnable on GPU.
I can't recreated the error on my end. What's the shape of feats?

from eeglearn.

Twinkle123321 avatar Twinkle123321 commented on May 12, 2024

sorry,when I update the version of Keras,it could run successful,thank you!
I want to ask another very simple math question of code:
def azim_proj(pos):
[r, elev, az] = cart2sph(pos[0], pos[1], pos[2])
return pol2cart(az, m.pi / 2 - elev)
function pol2cart(theta,rho) 's second param should be radius,but "m.pi / 2 - elev" is a angle,how it works?

from eeglearn.

pbashivan avatar pbashivan commented on May 12, 2024

We actually ignore r because we assume that all points are located on a sphere. Azimuthal equidistance projection keeps retains the distance between points on the sphere to a fixed point (e.g. north pole on earth map) while projecting down to 2D. So pi/2 - elevation is the true measure of distance between the fixed point and every other point. This is the conceptual reason why pi/2 - elevation is used as r. Some math related to this is discussed in here

from eeglearn.

Twinkle123321 avatar Twinkle123321 commented on May 12, 2024

OK,thank you very much

from eeglearn.

wangyue663 avatar wangyue663 commented on May 12, 2024

Because the author uses 2.7 python and you use 3.5 python, you have to change'' to'\'

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.