There was an error while loading. Please reload this page.
1 parent 2874fa9 commit be37440Copy full SHA for be37440
1 file changed
src/metatrain/utils/testing/input.py
@@ -182,8 +182,8 @@ def restart(
182
"""
183
if not self.supports_restart:
184
pytest.skip("The architecture does not support restart")
185
- if len(default_hypers) == 0:
186
- pytest.skip("The architecture does not have any hyperparameters")
+ if len(default_hypers["model"]) == 0:
+ pytest.skip("The model does not have any hyperparameters")
187
188
model = self.model_cls(minimal_model_hypers, dataset_info)
189
0 commit comments