From 266c512fbde0c327d0fcd959fe73d98ce20cfb62 Mon Sep 17 00:00:00 2001 From: cfirth-nasa Date: Mon, 11 Sep 2023 13:14:26 -0400 Subject: [PATCH] Fix input argument error with generic plugin --- plugins/generic/generic_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/generic/generic_plugin.py b/plugins/generic/generic_plugin.py index a18be7f2..1b0da3ae 100644 --- a/plugins/generic/generic_plugin.py +++ b/plugins/generic/generic_plugin.py @@ -11,13 +11,13 @@ from onair.src.data_driven_components.ai_plugin_abstract.core import AIPlugIn class Plugin(AIPlugIn): - def apriori_training(self): + def apriori_training(self,batch_data=[]): """ Given data, system should learn any priors necessary for realtime diagnosis. """ pass - def update(self): + def update(self,frame=[]): """ Given streamed data point, system should update internally """