Open brianegge opened 7 months ago
Same for me, do you find a solution? I also try with version 2.3.2 with no luck 19:31:02:Started License Plate Reader module 19:31:05:Module ALPR has shutdown 19:31:05:ALPR_adapter.py: has exited
+1 also experiencing this issue
had the same issue. gpu
tagged images are outdated. gotta use cuda12_2
or cuda11_7
https://hub.docker.com/layers/codeproject/ai-server/cuda12_2/images/sha256-62a3ea87fae23e4c4651e707671a86a1ab9fa8d7d11a7e88b8d48a6f7a1feca8
docs should be updated
Same issue with docker 2.6.0-cpu and license plate module 3.0.3
Same issue with docker 2.6.1-cpu and license plate module 3.1.0
Could you please send the contents of the System Info tab
@matthewDDennis any update?
We had some issues with the 2.6.[0,1,2] releases that have been addressed in the 2.6.4 release. Please give this a try.
The latest docker image available is the 2.6.2
@matthewDDennis @ChrisMaunder any update of the docker images to diagnose this issue? Thank you
I try the latest docker image published(2.6.5) but still the same issue.
Here is the logs of the installation:
11:22:44:Preparing to install module 'ALPR'
11:22:44:Downloading module 'ALPR'
11:22:44:Installer script at '/app/setup.sh'
11:22:44:Installing module 'ALPR'
11:22:44:ALPR: Setting verbosity to quiet
11:22:44:ALPR: Hi Docker! We will disable shared python installs for downloaded modules
11:22:44:ALPR: (No schemas means: we can't detect if you're in light or dark mode)
11:22:44:ALPR: Installing CodeProject.AI Analysis Module
11:22:44:ALPR: ======================================================================
11:22:44:ALPR: CodeProject.AI Installer
11:22:44:ALPR: ======================================================================
11:22:44:ALPR: 127.08 GiB of 233.04 GiB available on Docker
11:22:44:ALPR: Installing xz-utils...
11:22:48:ALPR: General CodeProject.AI setup
11:22:48:ALPR: Setting permissions on runtimes folder...done
11:22:48:ALPR: Setting permissions on downloads folder...done
11:22:48:ALPR: Setting permissions on modules download folder...done
11:22:48:ALPR: Creating models download folder...done
11:22:48:ALPR: Setting permissions on models download folder...done
11:22:48:ALPR: Setting permissions on persisted data folder...done
11:22:48:ALPR: GPU support
11:22:48:ALPR: CUDA (NVIDIA) Present: No
11:22:54:ALPR: ROCm (AMD) Present: (attempt to install rocminfo... ) No
11:22:54:ALPR: MPS (Apple) Present: No
11:22:55:ALPR: Reading module settings.......done
11:22:55:ALPR: Processing module ALPR 3.1.0
11:22:55:ALPR: Installing Python 3.8
11:22:55:ALPR: Python 3.8 is already installed
11:23:05:ALPR: Ensuring PIP in base python install... done
11:23:08:ALPR: Upgrading PIP in base python install... done
11:23:08:ALPR: Virtual Environment already present
11:23:08:ALPR: Checking for Python 3.8...(Found Python 3.8.19) All good
11:23:11:ALPR: Upgrading PIP in virtual environment... done
11:23:14:Response timeout. Try increasing the timeout value
11:23:17:ALPR: Installing updated setuptools in venv... done
11:23:17:ALPR: deb http://security.ubuntu.com/ubuntu focal-security main
11:23:30:ALPR: Searching for libssl1.1...installing... done
11:23:30:ALPR: Ensuring symlinks are created...Done
11:23:32:ALPR: Downloading OCR models...Expanding... done.
11:23:32:ALPR: Moving contents of ocr-en-pp_ocrv4-paddle.zip to paddleocr...done.
11:23:32:ALPR: Installing Python packages for License Plate Reader
11:23:32:ALPR: Installing GPU-enabled libraries: No
11:23:35:ALPR: Searching for python3-pip...All good.
11:23:39:ALPR: Ensuring PIP compatibility... done
11:23:39:ALPR: Python packages will be specified by requirements.linux.txt
11:23:41:ALPR: - Installing PaddelPaddle, the Deep Learning platform...Already installed
11:23:43:ALPR: - Installing PaddleOCR, the OCR toolkit based on PaddlePaddle...Already installed
11:23:45:ALPR: - Installing imutils, the image utilities library...Already installed
11:23:47:ALPR: - Installing Pillow, a Python Image Library...Already installed
11:23:49:ALPR: - Installing OpenCV, the Computer Vision library for Python...Already installed
11:23:51:ALPR: - Installing NumPy, a package for scientific computing...Already installed
11:23:51:ALPR: Installing Python packages for the CodeProject.AI Server SDK
11:23:54:ALPR: Searching for python3-pip...All good.
11:23:59:ALPR: Ensuring PIP compatibility... done
11:23:59:ALPR: Python packages will be specified by requirements.txt
11:24:01:ALPR: - Installing Pillow, a Python Image Library...Already installed
11:24:03:ALPR: - Installing Charset normalizer...Already installed
11:24:04:ALPR: - Installing aiohttp, the Async IO HTTP library...Already installed
11:24:06:ALPR: - Installing aiofiles, the Async IO Files library...Already installed
11:24:08:ALPR: - Installing py-cpuinfo to allow us to query CPU info...Already installed
11:24:10:ALPR: - Installing Requests, the HTTP library...Already installed
11:24:10:ALPR: Scanning modulesettings for downloadable models...No models specified
11:24:10:ALPR: Executing post-install script for License Plate Reader
11:24:10:ALPR: Applying PaddleOCR patch
11:24:27:ALPR: /app/setup.sh: line 328: 2489 Illegal instruction (core dumped) "$venvPythonCmdPath" "$moduleStartFilePath" --selftest > /dev/null
11:24:27:ALPR: Self test: Self-test failed
11:24:27:ALPR: Module setup time 00:01:33
11:24:27:ALPR: Setup complete
11:24:27:ALPR: Total setup time 00:01:43
11:24:27:Module ALPR installed successfully.
11:24:27:Installer exited with code 0
11:24:27:Running module using: /app/modules/ALPR/bin/linux/python38/venv/bin/python3
11:24:27:
11:24:27:Attempting to start ALPR with /app/modules/ALPR/bin/linux/python38/venv/bin/python3 "/app/modules/ALPR/ALPR_adapter.py"
11:24:27:
11:24:27:Module 'License Plate Reader' 3.1.0 (ID: ALPR)
11:24:27:Valid: True
11:24:27:Module Path:
I have the same issue, did you manage to solve it?
I have the same issue, did you manage to solve it?
No still the same problem
Thanks - I have just wasted a full day trying to make this work before finding your post. I will watch here for a solution.
@matthewDDennis @ChrisMaunder anything we can do to help you solve this issue? Upgrade to Ubuntu 24.04 and still the same issue
Same issue. If I jump into the container (as root), I get this. Not sure if thats the issue or not.
2.6.5 / 3.2.2
root@4a419de0218d:/app/modules/ALPR# python3 ALPR_adapter.py
Traceback (most recent call last):
File "/app/modules/ALPR/ALPR_adapter.py", line 5, in <module>
from codeproject_ai_sdk import RequestData, ModuleRunner, JSON
ModuleNotFoundError: No module named 'codeproject_ai_sdk'
Same issue. If I jump into the container (as root), I get this. Not sure if thats the issue or not.
2.6.5 / 3.2.2
root@4a419de0218d:/app/modules/ALPR# python3 ALPR_adapter.py Traceback (most recent call last): File "/app/modules/ALPR/ALPR_adapter.py", line 5, in <module> from codeproject_ai_sdk import RequestData, ModuleRunner, JSON ModuleNotFoundError: No module named 'codeproject_ai_sdk'
I also try that without better result
Same hier
I try with server 2.8.0 and the message is a little bit different:
10:01:33:ALPR_adapter.py: File "/app/modules/ALPR/ALPR_adapter.py", line 11, in 10:01:33:ALPR_adapter.py: from ALPR import init_detect_platenumber, detect_platenumber 10:01:33:ALPR_adapter.py: File "/app/modules/ALPR/ALPR.py", line 7, in 10:01:33:ALPR_adapter.py: import utils.tools as tool 10:01:33:ALPR_adapter.py: ModuleNotFoundError: No module named 'utils.tools'
Area of Concern
Describe the bug A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Your System (please complete the following information):
Additional context