Skip to main content

EEG Phrase Predictor ver 2

Project description

EEG Phase Predictor ver 2

**Note: This is beta version, use for training with default dataset and inference only

Setup

  • Requirements: python >= 3.10
  • Installing:
  pip install eegpp2

Train with default dataset

    python -m eegpp2 --mode "train" --model_type <mode_type> --lr <learning_rate> --batch_size <batch_size> --n_epochs <num_epochs> --n_splits <num_folds> --resume_checkpoint <resume_from_checkpoint>

ex: python -m eegpp2 --mode "train" --model_type "stftcnn1dnc" --n_epochs 20 --n_splits 10 --resume_checkpoint False

Inference

  python -m eegpp2 --mode "infer" --data_path <path_to_data_file> --infer_path <path_to_saving_file> --model_type <model_type>

ex: python -m eegpp2 --mode "infer" --data_path "./dump_eeg_1.pkl" --infer_path './inference_result.txt" --model_type "stftcnn1dnc"

Model type

  • stftcnn1dnc: Multi-channels STFT-CNN

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eegpp2_beta-0.0.6.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eegpp2_beta-0.0.6-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file eegpp2_beta-0.0.6.tar.gz.

File metadata

  • Download URL: eegpp2_beta-0.0.6.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for eegpp2_beta-0.0.6.tar.gz
Algorithm Hash digest
SHA256 64b45102005f35957db402d211ae71e16b5dc3a9eee0870f39d53763b4782e24
MD5 f808f209496886ed9255398222f904d3
BLAKE2b-256 79f7c52f50616018810c7295c884104ff7cd1e8bb53d5779f68922415d0aef43

See more details on using hashes here.

File details

Details for the file eegpp2_beta-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: eegpp2_beta-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for eegpp2_beta-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e772530ec0a9776d923c97c2bd609ff04d47ca620d3b919385deb5fd9e3b815a
MD5 ac8433a5624405e6487a0456d0dcc520
BLAKE2b-256 78b1e2984385aae7d2cc80118fddeada63584db375408827b896996a8b55b4a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page