pbradley0gmail-com
n3wb
- Jul 25, 2021
- 6
- 4
I'm getting the same error so I'm holding off on updating. Looks like the new version improves module installation by increasing the timeout
I'm getting the same error so I'm holding off on updating. Looks like the new version improves module installation by increasing the timeout
V2.19 has downloaded and installed for me without issue today.
I'm guessing Microsoft has updated Defender.
My experience is that 2.18 is much more efficient than all earlier releases. My GPU load for 8 cameras dropped substantially when I upgraded from 2.17 to 2.18. I'm presently considering reverting to 2.18 from 2.19Hell I'm still running 2.08, seems every version afterwards has just caused problems or broken things and hasn't improved anything or added any new features. Not upgrading past 2.08 until there's a substantial reason to.
The issue is you are using two Object Detection modules, you should only use one Object Detection module. Try disabling one of them, since you have only a CPU try the Object Detection (YOLOv5 .NET)Anyone else expericning issues with the latest CPAI 2.1.9 on docker? Nothing is being confirmed in the alerts. I noticed in the clip thumbnail it's saying "AI: Timeout".
View attachment 163557
View attachment 163555
View attachment 163556
View attachment 163649
View attachment 163650
The issue is you are using two Object Detection modules, you should only use one Object Detection module. Try disabling one of them, since you have only a CPU try the Object Detection (YOLOv5 .NET)
View attachment 163651
Since you are using a CPU it cannot handle six AI models. Try using the below settings.I did have just the .NET and LPR running before. Not sure how the 6.2 got restarted. After stopping the YOLO 6.2 I am still having "AI:timeouts" in the clips.
View attachment 163701
View attachment 163702
View attachment 163703
If you still have issue increase the timeout until you no longer get AI: timeoutI did have just the .NET and LPR running before. Not sure how the 6.2 got restarted. After stopping the YOLO 6.2 I am still having "AI:timeouts" in the clips.
View attachment 163701
View attachment 163702
View attachment 163703
If you still have issue increase the timeout until you no longer get AI: timeout
View attachment 163709
That's how it auto populates though it shows the individual models when hitting the 3 dots.Isn't this a problem?
View attachment 163720
What model are you usingAnyone running CPAI 2.1.9 and BI 5.7.7.2 seeing a runtime error in CPAI? So far it doesn't appear to be impacting AI detection or speed. I see the error at CPAI start but not again. I've tried uninstalling and reinstalling CPAI, same error.
Full log:
08:04:05:Object Detection (YOLOv5 6.2): [RuntimeError] : Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\detect.py", line 162, in do_detection
det = detector(img, size=640)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\yolov5\models\common.py", line 705, in forward
y = self.model(x, augment=augment) # forward
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\yolov5\models\common.py", line 515, in forward
y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 209, in forward
return self._forward_once(x, profile, visualize) # single-scale inference, train
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 121, in _forward_once
x = m(x) # run
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 74, in forward
xy = (xy * 2 + self.grid) * self.stride # xy
RuntimeError: The size of tensor a (60) must match the size of tensor b (48) at non-singleton dimension 2
What model are you using