mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25:01 +00:00
ai: call .predict(), not the model itself
This commit is contained in:
parent
a96cefde62
commit
8770638022
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class RainfallWaterContraster(object):
|
|||
i_batch = -1
|
||||
for batch in dataset:
|
||||
i_batch += 1
|
||||
rainfall = self.model_predict(batch) # ((rainfall, water), dummy_label)
|
||||
rainfall = self.model_predict.predict(batch) # ((rainfall, water), dummy_label)
|
||||
|
||||
for step in tf.unstack(rainfall, axis=0):
|
||||
yield step
|
||||
|
|
Loading…
Reference in a new issue