Commit e45802ab authored by Rudolf Chrispens's avatar Rudolf Chrispens
Browse files

second hotfix validator

parent b4f92312
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -149,7 +149,13 @@ class coco_validator(object):

                if _config.validator.max_iteration != -1:
                    num_iter = _config.validator.max_iteration
                for i in range(num_iter):

                if num_iter > self.batch_size:
                    counter = np.foor(num_iter / self.batch_size)
                else:
                    counter = num_iter

                for i in range(counter):
                    left_side = int(i * self.batch_size)
                    right_side = int((i + 1) * self.batch_size)