Skip to content
Snippets Groups Projects
Commit 109e51d9 authored by lukas leufen's avatar lukas leufen
Browse files

rename DefaultModel to VanillaModel

parent c9591fe2
Branches 88-ensure-pm-does-not-leak-memory
Tags
3 merge requests!125Release v0.10.0,!124Update Master to new version v0.10.0,!102Resolve "model link in experiment setup"
Pipeline #39332 passed
......@@ -9,7 +9,7 @@ from typing import Union, Dict, Any, List
from src.configuration import path_config
from src import helpers
from src.run_modules.run_environment import RunEnvironment
from src.model_modules.model_class import MyLittleModel as DefaultModel
from src.model_modules.model_class import MyLittleModel as VanillaModel
DEFAULT_STATIONS = ['DEBW107', 'DEBY081', 'DEBW013', 'DEBW076', 'DEBW087', 'DEBY052', 'DEBY032', 'DEBW022', 'DEBY004',
'DEBY020', 'DEBW030', 'DEBW037', 'DEBW031', 'DEBW015', 'DEBW073', 'DEBY039', 'DEBW038', 'DEBW081',
......@@ -345,7 +345,7 @@ class ExperimentSetup(RunEnvironment):
self._compare_variables_and_statistics()
# set model architecture class
self._set_param("model_class", model, DefaultModel)
self._set_param("model_class", model, VanillaModel)
def _set_param(self, param: str, value: Any, default: Any = None, scope: str = "general") -> None:
"""Set given parameter and log in debug."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment