various fixes
This commit is contained in:
parent
05f826d22d
commit
653d75e95a
@ -121,7 +121,7 @@ class MNISTDataProvider(DataProvider):
|
||||
return numpy.random.permutation(numpy.arange(0, self.x.shape[0]))
|
||||
|
||||
def next(self):
|
||||
print (self._curr_idx / self.batch_size)
|
||||
|
||||
has_enough = (self._curr_idx + self.batch_size) <= self.x.shape[0]
|
||||
presented_max = (0 < self._max_num_batches <= (self._curr_idx / self.batch_size))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user