Search found 4 matches

by sdamasoc
Thu Oct 14, 2021 6:55 pm
Forum: ZoneMinder 1.36.x
Topic: ZMEVENTNOTIFICATION: Error running model: invalid index to scalar variable
Replies: 10
Views: 11303

Re: ZMEVENTNOTIFICATION: Error running model: invalid index to scalar variable

I removed everything under /var/lib/zmeventnotification/models (coral_edgetpu, tinyyolov3, tinyyolov4, yolov3 and yolov4). I redownloaded all models (urls can be founded in install.sh script) and I have always the same error. With my correction above everything works fine: Screenshot 2021-10-14 2054...
by sdamasoc
Wed Oct 13, 2021 8:42 pm
Forum: ZoneMinder 1.36.x
Topic: ZMEVENTNOTIFICATION: Error running model: invalid index to scalar variable
Replies: 10
Views: 11303

Re: ZMEVENTNOTIFICATION: Error running model: invalid index to scalar variable

I had a fresh install, reinstalled twice and always the same error...
Which models/labels you advise to redownload?
by sdamasoc
Wed Oct 13, 2021 8:12 am
Forum: ZoneMinder 1.36.x
Topic: ZMEVENTNOTIFICATION: Error running model: invalid index to scalar variable
Replies: 10
Views: 11303

Re: ZMEVENTNOTIFICATION: Error running model: invalid index to scalar variable

I found the problem and I think there is a bug on lines 156 and 217of /usr/local/lib/python3.8/dist-packages/pyzm/ml/yolo.py file: ln = [ln[i[0] - 1] for i in self.net.getUnconnectedOutLayers()] here the variable i seems to be an index and not an array. I fixed this line by removing the [0]: ln = [l...
by sdamasoc
Sun Oct 10, 2021 8:04 pm
Forum: ZoneMinder 1.36.x
Topic: ZMEVENTNOTIFICATION: Error running model: invalid index to scalar variable
Replies: 10
Views: 11303

Re: ZMEVENTNOTIFICATION: Error running model: invalid index to scalar variable

I'm also having the same issue: 10/10/21 21:58:27 zmesdetect_m11[102221] DBG2 detect_sequence.py:714 [Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/pyzm/ml/detect_sequence.py", line 710, in detect_stream _b,_l,_c,_m = m.detect(image=frame) File "/usr/...