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

Bugfix: unable to change dataset

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