'The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() while using model.fit

def train(self): self.model.fit([self.graph_train, self.pattern_train], self.y_train batch_size=self.batch_size,epochs=self.epochs, class_weight=self.class_weight)

Getting Error like this



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source