MI trainLabel revise

This commit is contained in:
Ivey Song
2026-06-10 10:05:08 +08:00
parent 5a2cc82100
commit 506ebfd973

View File

@@ -332,7 +332,7 @@ class Decoder_main(threading.Thread):
self.zmqServer.broadcast_message('paradigm', 2) # 模型训练前,训练集采集完毕,通知上位机
self.train_started = True
self.trainData = np.array(self.trainData)
self.trainLabel = np.array(self.trainLabel) + 1
self.trainLabel = np.array(self.trainLabel)
algo_log(f"MI开始训练训练集{np.shape(self.trainData)}标签shape{np.shape(self.trainLabel)}", level="DEBUG")
if save_train_data == 1:
now_str = datetime.now().strftime("%Y%m%d_%H%M%S")