mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 18:33:01 +00:00
fixup
This commit is contained in:
parent
366db658a8
commit
ed94da7492
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class RainfallWaterContraster(object):
|
||||||
|
|
||||||
def embed(self, dataset):
|
def embed(self, dataset):
|
||||||
i_batch = -1
|
i_batch = -1
|
||||||
for batch in batched_iterator(dataset, batch_size=self.batch_size):
|
for batch in batched_iterator(dataset, tensors_in_item=2, batch_size=self.batch_size):
|
||||||
i_batch += 1
|
i_batch += 1
|
||||||
rainfall = self.model_predict.predict(batch[0]) # ((rainfall, water), dummy_label)
|
rainfall = self.model_predict.predict(batch[0]) # ((rainfall, water), dummy_label)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue