Update structure

This commit is contained in:
Thomas
2021-08-04 16:17:38 +02:00
parent 74a3c735b5
commit 99eb66e185
2 changed files with 0 additions and 19 deletions

View File

@@ -1,14 +0,0 @@
{
"network_config": {
"module_list": [
{"name": "Conv1d", "kwargs": {"in_channels": 9, "out_channels": 32, "kernel_size": 3}},
{"name": "ReLU"},
{"name": "Conv1d", "kwargs": {"in_channels": 32, "out_channels": 16, "kernel_size": 3}},
{"name": "ReLU"},
{"name": "Conv1d", "kwargs": {"in_channels": 16, "out_channels": 9, "kernel_size": 3}},
{"name": "ReLU"},
{"name": "View", "kwargs": {"shape": [-1, 396]}},
{"name": "Linear", "kwargs": {"in_features": 396, "out_features": 9}}
]
}
}

View File

@@ -5,7 +5,6 @@ from typing import Optional
project_path = Path(__file__).parent.parent
runs_folder_path = project_path.joinpath('runs')
models_folder_path = project_path.joinpath('models')
datasets_folder_path = project_path.joinpath('datasets')
databases_folder_path = project_path.joinpath('databases')
@@ -23,10 +22,6 @@ def get_runs_folder_path(path: Optional[Union[str, Path]] = None) -> Path:
return _get_path(path, runs_folder_path)
def get_models_folder_path(path: Optional[Union[str, Path]] = None) -> Path:
return _get_path(path, models_folder_path)
def get_datasets_folder_path(path: Optional[Union[str, Path]] = None) -> Path:
return _get_path(path, datasets_folder_path)