diff --git a/daq/src/aaredaq/mlbox.py b/daq/src/aaredaq/mlbox.py index a0585eef..b3e0a4a5 100644 --- a/daq/src/aaredaq/mlbox.py +++ b/daq/src/aaredaq/mlbox.py @@ -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 diff --git a/gui/src/aaregui/main_window.py b/gui/src/aaregui/main_window.py index 64d58cf7..6e123126 100644 --- a/gui/src/aaregui/main_window.py +++ b/gui/src/aaregui/main_window.py @@ -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()