We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c313a3 commit 08ac586Copy full SHA for 08ac586
stemflow/utils/lazyloading.py
@@ -7,7 +7,10 @@ class LazyLoadingEnsembleDict(MutableMapping):
7
def __init__(self, directory='./tmp_models'):
8
"""
9
Initialize the LazyLoadingEnsembleDict with a directory to save and load models.
10
- :param directory: The directory to save and load model files.
+
11
+ Args:
12
+ directory:
13
+ The directory to save and load model files.
14
15
self.directory = directory
16
self.ensemble_models = {}
@@ -197,4 +200,4 @@ def delete_ensemble(self, ensemble_id):
197
200
if os.path.exists(ensemble_path):
198
201
os.remove(ensemble_path)
199
202
else:
- raise ValueError(f'Ensemble {ensemble_id} not found on disk.')
203
+ raise ValueError(f'Ensemble {ensemble_id} not found on disk.')
0 commit comments