mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25:01 +00:00
send correct water shape to
This commit is contained in:
parent
ad156a9a00
commit
ef0f15960d
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
import math
|
||||
import sys
|
||||
import argparse
|
||||
from asyncio.log import logger
|
||||
|
@ -52,7 +53,7 @@ def run(args):
|
|||
feature_dim=args.feature_dim,
|
||||
|
||||
shape_rainfall=dataset_metadata["rainfallradar"],
|
||||
shape_water=dataset_metadata["waterdepth"]
|
||||
shape_water=[ math.floor(value * 0.75) for value in dataset_metadata["waterdepth"] ]
|
||||
)
|
||||
|
||||
ai.train(dataset_train, dataset_validate)
|
||||
|
|
Loading…
Reference in a new issue