mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 02:32:59 +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