Script ran with no errors. LPR module started, but as CPU and then crashed a few minutes later. Going to reboot the box and see if that changes anything.
View attachment 190823
No Change, unfortunately.
This is the install log:
373.3Gb of 457Gb available on
General CodeProject.AI setup
Creating Directories...Done
GPU support
CUDA Present...Yes (CUDA 11.8, cuDNN 9.0)
ROCm Present...No
Reading ALPR settings.......Done
Installing module License Plate Reader 3.0.3
Installing Python 3.9
Python 3.9 is already installed
Creating Virtual Environment (Local)...Virtual Environment already present
Confirming we have Python 3.9 in our virtual environment...present
Downloading ALPR models...already exists...Expanding...Done.
Copying contents of ocr-en-pp_ocrv4-paddle.zip to paddleocr...done
Installing Python packages for License Plate Reader
Installing GPU-enabled libraries: If available
Ensuring Python package manager (pip) is installed...Done
Ensuring Python package manager (pip) is up to date...Done
Python packages specified by requirements.windows.cuda11_8.txt
- Installing PaddlePaddle, Parallel Distributed Deep Learning...Already installed
- Installing PaddleOCR, the OCR toolkit based on PaddlePaddle...Already installed
- Installing imutils, the image utilities library...Already installed
- Installing Pillow, a Python Image Library...Already installed
- Installing OpenCV, the Computer Vision library for Python...Already installed
- Installing NumPy, a package for scientific computing...Already installed
Installing Python packages for the CodeProject.AI Server SDK
Ensuring Python package manager (pip) is installed...Done
Ensuring Python package manager (pip) is up to date...Done
Python packages specified by requirements.txt
- Installing Pillow, a Python Image Library...Already installed
- Installing Charset normalizer...Already installed
- Installing aiohttp, the Async IO HTTP library...Already installed
- Installing aiofiles, the Async IO Files library...Already installed
- Installing py-cpuinfo to allow us to query CPU info...Already installed
- Installing Requests, the HTTP library...Already installed
Executing post-install script for License Plate Reader
Applying PaddleOCR patch
1 file(s) copied.
Self test: Error: Can not import paddle core while this file exists: C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\lib\site-packages\paddle\base\libpaddle.pyd
Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\lib\site-packages\paddle\base\core.py", line 268, in <module>
from . import libpaddle
ImportError: DLL load failed while importing libpaddle: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR_adapter.py", line 16, in <module>
from ALPR import init_detect_platenumber, detect_platenumber
File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR.py", line 19, in <module>
from paddleocr import PaddleOCR
File "C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\lib\site-packages\paddleocr\
init.py", line 14, in <module>
from .paddleocr import *
File "C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\lib\site-packages\paddleocr\paddleocr.py", line 21, in <module>
import paddle
File "C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\lib\site-packages\paddle\
init.py", line 28, in <module>
from .base import core # noqa: F401
File "C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\lib\site-packages\paddle\base\
init.py", line 36, in <module>
from . import core
File "C:\Program Files\CodeProject\AI\modules\ALPR\bin\windows\python39\venv\lib\site-packages\paddle\base\core.py", line 375, in <module>
if not avx_supported() and libpaddle.is_compiled_with_avx():
NameError: name 'libpaddle' is not defined
Self-test passed
Module setup time 00:01:09.53
Setup complete
Total setup time 00:01:10.60