Code Monkey home page Code Monkey logo

eegnet-based-embedded-bci's People

Contributors

batom3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eegnet-based-embedded-bci's Issues

plot_nbook

in trian_val_global_ss.ipynb

  • I had to add np.transpose in all_acc[split_ctr] = np.transpose(np.genfromtxt(file, delimiter=' ')) in both plot_global and plot_ss functions
  • the printed out global and ss in the ss experiment plot (last two cells) are only mean from fold 1. Correct code should be:
    global_acc = 100all_acc[:,:,1,0].mean()
    ss_acc = 100
    all_acc[:,:,1,-1].mean()

suggestions

  • You could add explicitly the fix for keras:

change "()" to "[ ]" in line no 1908,1910,1914, 1918 in anaconda3/envs/mybciEnv/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py (e.g. beta = tf.reshape(beta, [-1])) and have 'channels_last' in keras.json

  • Remove sentence in models.py talking about channels_first

  • get error when saving results "No such file or directory: 'results//stats/global_class_4_ds1_nch64_T3_split_0.csv'". suggestion: use os.path.join(). In save_results in main_global.py {experiment_name} missing: results_str = f'{results_dir}{experiment_name}/stats/global_class_{num_classes}_ds{n_ds}_nch{n_ch}_T{T}split{split_ctr}.csv' also line 139 in main_global.py

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.