Open Bikestuff opened 1 week ago
Can you check if the Obico ML API Host
configured correctly and you can access to it?
How can I test that? I've stopped, rebuild and started the addon. Perhaps the logs tell someone somewhat:
s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped [2024-11-10 18:26:32 +0100] [99] [INFO] Worker exiting (pid: 99) [2024-11-10 18:26:32 +0100] [98] [INFO] Handling signal: term Darknet is now running on CPU. Error during importing OnnxNet! - No module named 'onnxruntime' ----- Trying to load weights: /app/lib/../model/model-weights.darknet - use_gpu = True ----- Failed! - I respectfully decline to load the net as I am asked to use GPU but the loaded darknet module does NOT have GPU support ----- Trying to load weights: /app/lib/../model/model-weights.onnx - use_gpu = True ----- Failed! - Not loading ONNX net due to previous import failure. Check earlier log for errors. ----- Trying to load weights: /app/lib/../model/model-weights.onnx - use_gpu = False ----- Failed! - Not loading ONNX net due to previous import failure. Check earlier log for errors. ----- Trying to load weights: /app/lib/../model/model-weights.darknet - use_gpu = False ----- Succeeded! seen 64, trained: 1427 K-images (22 Kilo-batches_64) Loaded - names_list: /app/model/names, classes = 1 [2024-11-10 18:26:32 +0100] [98] [INFO] Shutting down: Master s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun ha-bambulab-spaghetti-detection (no readiness notification) s6-rc: info: service legacy-services successfully started [2024-11-10 18:26:47 +0100] [98] [INFO] Starting gunicorn 19.9.0 [2024-11-10 18:26:47 +0100] [98] [INFO] Listening at: http://0.0.0.0:3333 (98) [2024-11-10 18:26:47 +0100] [98] [INFO] Using worker: sync
You can try to access it from http://<obico_ml_host_api>/hc/
url.
Yes, that works. Blank page with a text "ok"
Latest version of this integration is writing logs every second, even no printing is running home-assistant_bambu_lab_p1_spaghetti_detection_2024-11-05T11-29-21.136Z.log
HA: Core 2024.10.4 Supervisor 2024.10.3 Operating System 13.2 Frontend 20241002.4