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
- Old version (Recommend)
python -m eegpp2 -p <path_to_infer_config.yml>
ex: python -m eegpp2 -p "data_config_infer.yml"
- 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
Metadata
Release files for eegpp2-beta 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eegpp2_beta-0.1.7.tar.gz | 30.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eegpp2_beta-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.1 kB
Release files / eegpp2_beta-0.1.7.tar.gz
| Download URL | eegpp2_beta-0.1.7.tar.gz |
|---|---|
| Size | 30.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36ebb98d88c758024472a989454b8b40144d4927e5c48b61611056258949f3e7
|
|
BLAKE2b-256 checksum How to use checksums |
644694abf0d2d5ef58e4f33b177b30723e707e5c0fa5f962f45943f1815e6622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Release files / eegpp2_beta-0.1.7-py3-none-any.whl
| Download URL | eegpp2_beta-0.1.7-py3-none-any.whl |
|---|---|
| Size | 46.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a226d72a5cbe0e04e6f0460ecd82d88ad49e1fa8327b8addf67240f9af9d7a4
|
|
BLAKE2b-256 checksum How to use checksums |
dcb440b241374f70c8215b877c7be5917715cf583fbae26809e0862676668684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|