mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 01:12:59 +00:00
ai: how did I miss that?!
bugfix ah/c
This commit is contained in:
parent
decdd434d8
commit
6bda24d4da
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class RainfallWaterContraster(object):
|
|||
@staticmethod
|
||||
def from_checkpoint(filepath_checkpoint, filepath_hyperparams=None):
|
||||
if not filepath_checkpoint:
|
||||
filepath_checkpoint = find_paramsjson(filepath_checkpoint)
|
||||
filepath_hyperparams = find_paramsjson(filepath_checkpoint)
|
||||
hyperparams = json.loads(readfile(filepath_hyperparams))
|
||||
return RainfallWaterContraster(filepath_checkpoint=filepath_checkpoint, **hyperparams)
|
||||
|
||||
|
|
Loading…
Reference in a new issue