mirror of
https://github.com/thomashirtz/portfolio-management.git
synced 2022-03-03 23:56:42 +03:00
Update structure
This commit is contained in:
@@ -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}}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user