send correct water shape to

This commit is contained in:
Starbeamrainbowlabs 2022-09-02 18:09:36 +01:00
parent ad156a9a00
commit ef0f15960d
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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)