mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 18:33:01 +00:00
fixup
This commit is contained in:
parent
0894bd09e8
commit
aa7d9b8cf6
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ def run(args):
|
||||||
args.params = find_paramsjson(args.checkpoint)
|
args.params = find_paramsjson(args.checkpoint)
|
||||||
if args.params == None:
|
if args.params == None:
|
||||||
logger.error("Error: Failed to find params.json. Please ensure it's either in the same directory as the checkpoint or 1 level above")
|
logger.error("Error: Failed to find params.json. Please ensure it's either in the same directory as the checkpoint or 1 level above")
|
||||||
|
return
|
||||||
if (not hasattr(args, "read_multiplier")) or args.read_multiplier == None:
|
if (not hasattr(args, "read_multiplier")) or args.read_multiplier == None:
|
||||||
args.read_multiplier = 0
|
args.read_multiplier = 0
|
||||||
if (not hasattr(args, "records_per_file")) or args.records_per_file == None:
|
if (not hasattr(args, "records_per_file")) or args.records_per_file == None:
|
||||||
|
|
Loading…
Reference in a new issue