This commit is contained in:
2026-06-11 11:06:59 +08:00
parent 4574798d86
commit 0570d41439
4 changed files with 19 additions and 19 deletions

View File

@@ -425,7 +425,7 @@ class Decoder_main(threading.Thread):
y_pred = torch.max(Cls, 1)[1]
self.plotLabel.append(int(y_pred.item()))
algo_log(f"MI运动意图识别: {y_pred}")
self.zmqServer.broadcast_message('paradigm', int(y_pred.item()))
self.zmqServer.broadcast_message('result', int(y_pred.item()))
end = time.time()
algo_log(f'MI发送给界面完成,耗时{end - start:.3f}s。')
else: # 休息状态