GithubHelp home page GithubHelp logo

ml_eeg_project's Introduction

EEG ML Project

Report & presentation

materials/article_3D CNNs as solution for inverse EEG problem (Machine Learning 2023 Course.pdf

materials/presentation_3D CNN for inverse EEG problem.pdf

How to run

  • Load model weights and sample set:

    gdown --id 1RlA_DInYxlvsQuDimHUYvtadrlnXrQgx

    gdown --id 1T_IpJMqIh78x4rSrQBiFZLz65-0pPk_-

  • Run the script for prediction:

    mkdir output

    python preprocessing\unarchive_h5.py --h5_filename_to_unarchive "dense-162dip_parcell-64_GRID-64_paired_scale-False_DILATION-None-4000.h5"

    python training_script.py --model "VNet" --model_name "VNet_trained_CrossEntropy_DILATION-None-4000_epoch-120.pt" --h5_file_path "dense-162dip_parcell-64_GRID-64_paired_scale-False_DILATION-None-4000_unarch.h5" --out_dir "output" --predict_only 1

    python plot/visualize.py --model_name "output/vnet_CrossEntropy_prediction.h5"

Train & test dataset

Download:

gdown --id 1hRmT670aQNItDEGuEaUPvpphw6aDxNZu

Unarchive:

python preprocessing/unarchive_h5.py --filename "dense-162dip_parcell-64_GRID-64_paired_scale-False-2000.h5"

Repository structure

EEG ML Project
├── report  # report deliverables
│   ├── presentation.pdf
│   └── report.pdf
├── plot
│   └── visualize.py
├── predictor  # contains models schemes and neutron files
│   ├── utils.py  # 
│   └── buildingblocks.py # realization of UNet architecture on pytorch
├── configs  # different run configs
│   ├── config_vnet_DILATION-2-predict.json  # 
│   ├── config_vnet_DILATION-2.json  # 
│   ├── config_vnet_DILATION-None-predict.json  # 
│   └── config_vnet_DILATION-None.json  # 
├── preprocessing
│   ├── coords_to_voxels.ipynb  # 
│   ├── data_to_h5_dtype.py  # 
│   └── unarchive_h5.py  # unarchives the dataset in h5 format
├── CustomImageDataset.py  #
├── metric_for_dataset.ipynb  # calcules the metric of the model preiction
├── models.py  #
├── predict_set.py  #
├── requirements.txt
└── README.md

ml_eeg_project's People

Contributors

spaiker7 avatar tikhonovpavel avatar andreikalinichenko avatar

Watchers

 avatar

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.