DAQ/GUI - debug statements to check mlbox prediciton streamadn revert to usign mx-aare-test until mx-ml issue resolved.

This commit is contained in:
appleb_m committed 2025-11-12 08:46:14 +01:00
1 parent 49068b4431
commit 2021cf8cf0
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ logger=setup_logger(__name__, '/tmp/mxlogs')
class MlBox:
def __init__(self, url="http://mx-ml.psi.ch:8002/predict/?model=best_v8_20102025.pt"):
def __init__(self, url="http://mx-aare-test.psi.ch:8002/predict/?model=best_v8_20102025.pt"): #mx-aare-test.psi.ch, mx-ml.psi.ch
self.__url = url
# self.class_info = [
# ["loop_all", (255, 0, 0)], # class 0: Blue for loop_all
+1
View File
@@ -253,6 +253,7 @@ class MainWindow(QMainWindow):
# Prediction subscriber thread
if pred_zmq_addr is not None:
logger.debug(f"Starting prediction subscriber thread {pred_zmq_addr}")
self.prediction_thread = PredictionSubscriber(pred_zmq_url=pred_zmq_addr)
self.prediction_thread.prediction.connect(self.sample_camera.update_detections)
self.prediction_thread.start()