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 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 eegpp2 --mode "train" --model_type "stftcnn1dnc" --n_epochs 20 --n_splits 10 --resume_checkpoint False

Inference

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

ex: python 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.2.tar.gz (25.1 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.2-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eegpp2_beta-0.0.2.tar.gz
  • Upload date:
  • Size: 25.1 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.2.tar.gz
Algorithm Hash digest
SHA256 1d5145b89478c74a3ade9f7e7f047e5de09be42d3b0bbf61d05689b679346451
MD5 7218b1c35d79b1fbc8d7d467273f6e4c
BLAKE2b-256 f46e708e471ec8731ec246bb3d8d0e0d14d9f7240003d0bb94b1aee3587f65b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eegpp2_beta-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 38.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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4894fd4de827939428377ea5d698cf0bf041c912350014e5f456afd4b6a885a1
MD5 3424973bcf662e9419bb672500bd621f
BLAKE2b-256 f3d0568a75d6dcea7332ced1cd5f9ec9d4b06b5d2293d8eab4f41b611ff1be44

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