Commit 65c73cba authored by Yuncong Yu's avatar Yuncong Yu
Browse files

Bugfix: unable to change dataset

parent b340e98a
...@@ -7,6 +7,7 @@ __pycache__ ...@@ -7,6 +7,7 @@ __pycache__
*.pyd *.pyd
*.pyo *.pyo
*.obj *.obj
docs/
EGR/ EGR/
Angu:arApp/prototype/node_modules Angu:arApp/prototype/node_modules
backend/cache/ backend/cache/
......
...@@ -13,10 +13,11 @@ from src import lsh ...@@ -13,10 +13,11 @@ from src import lsh
from src.preprocessing import Preprocessor from src.preprocessing import Preprocessor
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
path_global_config_yml = Path("..") / "config.yml"
# Read config # Read config
def load_config(path_global_config_yml: Union[Path, str] = Path("../config.yml")) -> Dict[str, Any]: def load_config(path_global_config_yml: Union[Path, str] = path_global_config_yml) -> Dict[str, Any]:
"""Read the global configuration file """Read the global configuration file
Parameters Parameters
......
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
reload: false 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: D:\Projects\pseudo\experiments\configs\config_eeg_eye_state.yml
\ No newline at end of file \ No newline at end of file
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