We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8adb5f0 commit f1eb602Copy full SHA for f1eb602
models/node/processing/trainable/trainable_processing_node.py
@@ -247,7 +247,8 @@ def _is_training_condition_satisfied(self) -> bool:
247
:rtype: bool
248
"""
249
return self._input_buffer[self.INPUT_DATA].get_data_count() >= self.training_set_size \
250
- and self._input_buffer[self.INPUT_LABEL].get_data_count() >= self.training_set_size
+ and self._input_buffer[self.INPUT_LABEL].get_data_count() >= self.training_set_size \
251
+ and self._input_buffer[self.INPUT_DATA].get_data_count() == self._input_buffer[self.INPUT_LABEL].get_data_count()
252
253
def _is_processing_condition_satisfied(self) -> bool:
254
""" Returns whether the processing condition is satisfied. In this case it returns True if the input buffer
0 commit comments