Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LicensePlate module won't install under docker #87

Open
2 of 6 tasks
brianegge opened this issue Feb 11, 2024 · 10 comments
Open
2 of 6 tasks

LicensePlate module won't install under docker #87

brianegge opened this issue Feb 11, 2024 · 10 comments
Assignees

Comments

@brianegge
Copy link

Area of Concern

  • Server
  • Behaviour of one or more Modules License Plate Reader
  • Installer
  • Runtime [e.g. Python3.7, .NET]
  • Module packages [e.g. PyTorch)
  • Something else

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):

  • CodeProject.AI Server version: 2.2.4-Beta (docker gpu latest)
  • OS: Ubuntu 22.04
  • System RAM 32Gb
  • GPU (if available) GeForce RTX 3080

Additional context

08:07:42:ALPR: Checking for ROCm support... Done
08:07:42:ALPR: sh: 1: lsmod: not found
08:07:42:ALPR:              Installing CodeProject.AI Analysis Module                
08:07:42:ALPR: ======================================================================
08:07:42:ALPR:                    CodeProject.AI Installer                           
08:07:42:ALPR: ======================================================================
08:07:42:ALPR: 6.07 GiB  available
08:07:42:ALPR: Installing curl...
08:07:42:ALPR: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
08:07:43:ALPR: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4_7.81.0-1ubuntu1.13_amd64.deb  404  Not Found [IP: 91.189.91.81 80]
08:07:43:ALPR: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.81.0-1ubuntu1.13_amd64.deb  404  Not Found [IP: 91.189.91.81 80]
08:07:43:ALPR: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
08:07:43:Module ALPR installed successfully.
08:07:43:
08:07:43:Module 'License Plate Reader' 2.6 (ID: ALPR)
08:07:43:Module Path:   /app/modules/ALPR
08:07:43:AutoStart:     True
08:07:43:Queue:         alpr_queue
08:07:43:Installer exited with code 10
08:07:43:Platforms:     windows,linux,macos,macos-arm64
08:07:43:GPU:           Support disabled
08:07:43:Parallelism:   0
08:07:43:Accelerator:
08:07:43:Half Precis.:  enable
08:07:43:Runtime:       python38
08:07:43:Runtime Loc:   Local
08:07:43:FilePath:      ALPR_adapter.py
08:07:43:Pre installed: False
08:07:43:Start pause:   1 sec
08:07:43:LogVerbosity:
08:07:43:Valid:         True
08:07:43:Environment Variables
08:07:43:AUTO_PLATE_ROTATE            = True
08:07:43:OCR_OPTIMAL_CHARACTER_HEIGHT = 60
08:07:43:OCR_OPTIMAL_CHARACTER_WIDTH  = 36
08:07:43:OCR_OPTIMIZATION             = True
08:07:43:PLATE_CONFIDENCE             = 0.7
08:07:43:PLATE_RESCALE_FACTOR         = 2
08:07:43:PLATE_ROTATE_DEG             = 0
08:07:43:
08:07:43:Error trying to start License Plate Reader (ALPR_adapter.py)
08:07:43:An error occurred trying to start process '/app/modules/ALPR/bin/linux/python38/venv/bin/python3' with working directory '/app/modules/ALPR'. No such file or directory
08:07:43:   at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module)
08:07:43:Module ALPR started successfully.
08:07:43:Please check the CodeProject.AI installation completed successfully
08:07:44:Call to Install on module ALPR has completed.
@xavan83
Copy link

xavan83 commented Feb 22, 2024

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

@aots74
Copy link

aots74 commented Mar 4, 2024

+1 also experiencing this issue

@yen9912
Copy link

yen9912 commented Mar 15, 2024

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

@xavan83
Copy link

xavan83 commented Mar 29, 2024

Same issue with docker 2.6.0-cpu and license plate module 3.0.3

@xavan83
Copy link

xavan83 commented Apr 2, 2024

Same issue with docker 2.6.1-cpu and license plate module 3.1.0

@matthewDDennis
Copy link
Contributor

Could you please send the contents of the System Info tab
image

@xavan83
Copy link

xavan83 commented Apr 2, 2024

image

@xavan83
Copy link

xavan83 commented Apr 9, 2024

@matthewDDennis any update?

@matthewDDennis
Copy link
Contributor

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.

@xavan83
Copy link

xavan83 commented Apr 19, 2024

The latest docker image available is the 2.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants