Commit b83cab40 authored by Yuncong Yu's avatar Yuncong Yu
Browse files

Update paths and dependencies

parent 22758e32
...@@ -90,6 +90,7 @@ class Preprocessor: ...@@ -90,6 +90,7 @@ class Preprocessor:
"1" "1"
""" """
self.dir_cache.mkdir(parents=True, exist_ok=True)
self.path_cached_data_npy_ = self.dir_cache / f"{self.dataset}_cached_{window_size}.npy" self.path_cached_data_npy_ = self.dir_cache / f"{self.dataset}_cached_{window_size}.npy"
if not self.path_cached_data_npy_.is_file(): if not self.path_cached_data_npy_.is_file():
data = self._load_data() data = self._load_data()
......
...@@ -4,4 +4,4 @@ reload: false ...@@ -4,4 +4,4 @@ reload: false
# Specific configuration file # Specific configuration file
#path_config_yml: D:\Projects\pseudo\experiments\configs\config_egr.yml #path_config_yml: D:\Projects\pseudo\experiments\configs\config_egr.yml
path_config_yml: D:\Projects\pseudo\experiments\configs\config_eeg_eye_state.yml path_config_yml: ..\experiments\configs\config_eeg_eye_state.yml
\ No newline at end of file \ No newline at end of file
...@@ -9,12 +9,14 @@ dependencies: ...@@ -9,12 +9,14 @@ dependencies:
- dask[dataframe] - dask[dataframe]
- flask - flask
- flask_cors - flask_cors
- h5py
- jupyter - jupyter
- matplotlib - matplotlib
- numpy - numpy
- orjson - orjson
- pandas - pandas
- pip - pip
- pytables
- scikit-learn - scikit-learn
- tslearn - tslearn
- pip: - pip:
......
--- ---
dataset: eeg_eye_state dataset: eeg_eye_state
path_data_hdf: D:\Projects\pseudo\data\eeg_eye_state\eeg_eye_state.hdf path_data_hdf: ..\data\eeg_eye_state\eeg_eye_state.hdf
path_meta_json: D:\Projects\pseudo\data\eeg_eye_state\metadata.json path_meta_json: ..\data\eeg_eye_state\metadata.json
channels: channels:
- time - time
- AF3 - AF3
- F7 - F7
- F3 - F3
- FC5 - FC5
- T7 # - T7
- P7 # - P7
- O1 # - O1
- O2 # - O2
- P8 # - P8
- T8 # - T8
- FC6 # - FC6
- F4 # - F4
- F8 # - F8
- AF4 # - AF4
dir_in_hdf: resampled dir_in_hdf: resampled
dir_cache: cache\ dir_cache: cache\
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment