def trainmodel(self): if self.controller.num_of_images < 300: messagebox.showerror("ERROR", "No enough Data, Capture at least 300 images!") return train_classifer(self.controller.active_name) messagebox.showinfo("SUCCESS", "The modele has been successfully trained!") self.controller.show_frame("PageFour")
def trainmodel(self): if self.controller.num_of_images < 300: messagebox.showerror("ERROR", "Need more images captured.") return train_classifer(self.controller.active_name) messagebox.showinfo("SUCCESS", "The model has been trained and is ready!") self.controller.show_frame("PageFour")
def trainmodel(self): if self.controller.num_of_images < 300: messagebox.showerror( "ERROR", "No enough Data, Capture at least 300 images!") return train_classifer(self.controller.active_name) messagebox.showinfo("SUCCESS", "Welcome to the Easy Bank Network!") self.controller.show_frame("PageFour")