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-beta

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

  1. Old version (Recommend)
    python -m eegpp2 --mode "infer"  --yaml_config_path <path_to_infer_config.yml>

ex: python -m eegpp2 --mode "infer" --yaml_config_path "data_config_infer.yml

  1. New version
  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.1.1.tar.gz (29.2 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.1.1-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eegpp2_beta-0.1.1.tar.gz
  • Upload date:
  • Size: 29.2 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.1.1.tar.gz
Algorithm Hash digest
SHA256 a5741e5bdcf7c6fc7a19586bfa072234ca1782f2a15df01e7a5fb44021a8c181
MD5 d88fb7f6a3dc1b90c45a2d322fb84bed
BLAKE2b-256 f827a4db5713361277604c9a325fd42f9e2f1768cb8cacd69deb9a5f22453729

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eegpp2_beta-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 44.8 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 786dc161894c22e2df85785db309692a3a9548be9be9ea33a47c524c229ba279
MD5 f687b519e50445b3c5b86487ba4c71a0
BLAKE2b-256 bfea85c3e042e2cdb4a73bd233d9ca13508e38c13a35253b43d61dfda03a3401

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