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.
2 parents 7703554 + c1878a6 commit 384cc86Copy full SHA for 384cc86
batchflow/models/torch/base.py
@@ -405,7 +405,7 @@ def callable_init(module): # example of a callable for init
405
406
def __init__(self, config=None):
407
if config is not None and not isinstance(config, (dict, Config)):
408
- config = {'load/file': config}
+ config = {'load/path': config}
409
self.model_lock = Lock()
410
411
# Configs
0 commit comments