mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 10:32:59 +00:00
ai: off-by-one
This commit is contained in:
parent
23bcd294c4
commit
88acd54a97
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def run(args):
|
|||
feature_dim=args.feature_dim,
|
||||
|
||||
shape_rainfall=dataset_metadata["rainfallradar"],
|
||||
shape_water=[ math.ceil(value * 0.5) for value in dataset_metadata["waterdepth"] ]
|
||||
shape_water=[ math.ceil(value * 0.5) + 1 for value in dataset_metadata["waterdepth"] ]
|
||||
)
|
||||
|
||||
ai.train(dataset_train, dataset_validate)
|
||||
|
|
Loading…
Reference in a new issue