mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-25 23:45:01 +00:00
predict → predict_on_batch
This commit is contained in:
parent
f036e79098
commit
2c74676902
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.predict(batch) # ((rainfall, water), dummy_label)
|
||||
rainfall = self.model_predict.predict_on_batch(batch) # ((rainfall, water), dummy_label)
|
||||
|
||||
for step in tf.unstack(rainfall, axis=0):
|
||||
yield step
|
||||
|
|
Loading…
Reference in a new issue