|
Server version: 2.6.2
System: Linux
Operating System: Linux (Ubuntu 22.04)
CPUs: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz (Intel)
1 CPU x 4 cores. 8 logical processors (x64)
GPU (Primary): 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (Intel Corporation)
System RAM: 7 GiB
Platform: Linux
BuildConfig: Release
Execution Env: Native (SSH)
Runtime Env: Production
Runtimes installed:
.NET runtime: 7.0.17
.NET SDK: 7.0.117
Default Python: 3.10.12
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
2nd Generation Core Processor Family Integrated Graphics Controller (rev 09):
Driver Version
Video Processor
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
|
|
|
|
|
We've just updated the Ubuntu version to 2.6.4. Curious to know if 2.6.4 addresses this.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
well giving it a try now, i did try the 2.6.2 docker version, and it was fine, but rather just run it this way,
|
|
|
|
|
ok, i had it 2.6.2 running fine thru docker, but o stopped the docker, installed the 2.4.6 package, and so far so good, seems to be running fine, better object detection
i am also upgrading my system to soon, because im running quite a wimpy computer, an old intel i7 960
upgrading to a intel core i7 12700K with 64 gigs of ram
|
|
|
|
|
todaxtream wrote: intel core i7 12700K with 64 gigs of ram
Jealous.
cheers
Chris Maunder
|
|
|
|
|
Well so far codeproject 2.6.4 has been running all day without a hickup, had better object detection, and using the system recourse's better,
and im not just upgradeing just for the purpose or old cpu, my server runs alot of diffrent applications
|
|
|
|
|
That's great.
Still jealous
cheers
Chris Maunder
|
|
|
|
|
I think I'm having the same issue. I just posted my own question.
|
|
|
|
|
Try editing /etc/systemd/system/codeproject.ai-server.service to replace "Type=notify" with "Type=simple", then run 'systemctl daemon-reload' followed by 'systemctl restart codeproject.ai-server'
|
|
|
|
|
I get this error in the logs:
23:50:38:objectdetection_coral_adapter.py: F driver/usb/usb_driver.cc:1148] HandleQueuedBulkIn transfer in failed. Not found: USB transfer error 5 [LibUsbDataInCallback]
23:50:38:Module ObjectDetectionCoral has shutdown
Then it says Coral is shutting down. CPAI doesn’t detect this and restart the container. It just fails silently and all future calls fail, until I notice and manually restart the container.
Latest CPAI and latest Coral module versions installed
modified 17-Apr-24 13:18pm.
|
|
|
|
|
Thanks very much for your report. Could you please share your System Info tab from your CodeProject.AI Server dashboard?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Sure:
Server version: 2.6.2
System: Docker (dc5e24419dd2)
Operating System: Linux (Ubuntu 22.04)
CPUs: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (Intel)
1 CPU x 4 cores. 8 logical processors (x64)
System RAM: 15 GiB
Platform: Linux
BuildConfig: Release
Execution Env: Docker
Runtime Env: Production
Runtimes installed:
.NET runtime: 7.0.17
.NET SDK: Not found
Default Python: 3.10.12
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
|
|
|
|
|
When I try to start the module I get the error No module named 'PIL' in docker version.
Also with a Text2Image module.
23:27:29:stable_diffusion_adapter.py: Traceback (most recent call last):
23:27:29:stable_diffusion_adapter.py: File "/app/modules/Text2Image/stable_diffusion_adapter.py", line 9, in
23:27:29:stable_diffusion_adapter.py: from request_data import RequestData # RequestData is passed to 'process'
23:27:29:stable_diffusion_adapter.py: File "/app/modules/Text2Image/../../SDK/Python/request_data.py", line 8, in
23:27:29:stable_diffusion_adapter.py: from PIL import Image
23:27:29:stable_diffusion_adapter.py: ModuleNotFoundError: No module named 'PIL'
modified 16-Apr-24 12:06pm.
|
|
|
|
|
This usually means the module that threw the error wasn't installed fully, most likely due to timeout. Try re-installing those modules.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
When I attempted to install Super Resolution, I saw only this in the logs.
15:48:08:Preparing to install module 'SuperResolution'
15:48:08:Downloading module 'SuperResolution'
15:48:08:Unable to download module 'SuperResolution' from https:
My environment:
Server version: 2.6.2
System: Windows
Operating System: Windows (Microsoft Windows 10.0.19045)
CPUs: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (Intel)
1 CPU x 4 cores. 4 logical processors (x64)
GPU (Primary): Quadro P620 (2 GiB) (NVIDIA)
Driver: 516.94, CUDA: 11.7 (up to: 11.7), Compute: 6.1, cuDNN: 8.5
System RAM: 32 GiB
Platform: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
Runtimes installed:
.NET runtime: 7.0.17
.NET SDK: Not found
Default Python: Not found
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
NVIDIA Quadro P620:
Driver Version 31.0.15.1694
Video Processor Quadro P620
Intel(R) HD Graphics 530:
Driver Version 30.0.101.1692
Video Processor Intel(R) HD Graphics Family
System GPU info:
GPU 3D Usage 2%
GPU RAM Usage 1.3 GiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
|
|
|
|
|
We made a boo-boo. Please trying upgrading the module again.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Thank you, yes, super resolution installs and runs now.
Follow-up question though... super resolution seems to run, but with CPU only?
For some reason, GPU libraries were not installed???
Image detection YOLO v8 runs in GPU...
09:33:27:Preparing to install module 'SuperResolution'
09:33:27:Downloading module 'SuperResolution'
09:33:27:Installing module 'SuperResolution'
09:33:28:SuperResolution: Installing CodeProject.AI Analysis Module
09:33:28:SuperResolution: ======================================================================
09:33:28:SuperResolution: CodeProject.AI Installer
09:33:28:SuperResolution: ======================================================================
09:33:28:SuperResolution: 353.4Gb of 487Gb available on Windows
09:33:28:SuperResolution: General CodeProject.AI setup
09:33:28:SuperResolution: Creating Directories...done
09:33:28:SuperResolution: GPU support
09:33:29:SuperResolution: CUDA Present...Yes (CUDA 11.7, cuDNN 8.5)
09:33:29:SuperResolution: ROCm Present...No
09:33:31:SuperResolution: Reading SuperResolution settings.......done
09:33:31:SuperResolution: Installing module Super Resolution 2.0.0
09:33:31:SuperResolution: Installing Python 3.9
09:33:31:SuperResolution: Python 3.9 is already installed
09:33:38:SuperResolution: Creating Virtual Environment (Local)...done
09:33:38:SuperResolution: Confirming we have Python 3.9 in our virtual environment...present
09:33:38:SuperResolution: No custom setup steps for this module.
09:33:38:SuperResolution: Installing Python packages for Super Resolution
09:33:38:SuperResolution: [0;Installing GPU-enabled libraries: No
09:33:41:SuperResolution: Ensuring Python package manager (pip) is installed...done
09:33:52:SuperResolution: Ensuring Python package manager (pip) is up to date...done
09:33:52:SuperResolution: Python packages specified by requirements.txt
09:34:35:SuperResolution: - Installing ONNX, the Open Neural Network Exchange library...(✅ checked) done
09:35:43:SuperResolution: - Installing ONNX runtime, the scoring engine for ONNX models...(✅ checked) done
09:35:54:SuperResolution: - Installing resizeimage, which provides functions for easily resizing images...(✅ checked) done
09:35:55:SuperResolution: - Installing Pillow, a Python Image Library...Already installed
09:37:02:SuperResolution: - Installing PyTorch, for Tensor computation and Deep neural networks...(✅ checked) done
09:37:45:SuperResolution: - Installing NumPy, a package for scientific computing...Already installed
09:37:45:SuperResolution: Installing Python packages for the CodeProject.AI Server SDK
09:37:49:SuperResolution: Ensuring Python package manager (pip) is installed...done
09:37:52:SuperResolution: Ensuring Python package manager (pip) is up to date...done
09:37:52:SuperResolution: Python packages specified by requirements.txt
09:37:54:SuperResolution: - Installing Pillow, a Python Image Library...Already installed
09:37:55:SuperResolution: - Installing Charset normalizer...Already installed
09:38:04:SuperResolution: - Installing aiohttp, the Async IO HTTP library...(✅ checked) done
09:38:08:SuperResolution: - Installing aiofiles, the Async IO Files library...(✅ checked) done
09:38:11:SuperResolution: - Installing py-cpuinfo to allow us to query CPU info...(✅ checked) done
09:38:13:SuperResolution: - Installing Requests, the HTTP library...Already installed
09:38:14:SuperResolution: Scanning modulesettings for downloadable models...No models specified
09:38:22:SuperResolution: Self test: Self-test passed
09:38:22:SuperResolution: Module setup time 00:04:52.89
09:38:22:SuperResolution: Setup complete
09:38:22:SuperResolution: Total setup time 00:04:54.16
09:38:22:Module SuperResolution installed successfully.
09:38:22:Module SuperResolution not configured to AutoStart.
09:38:22:Installer exited with code 0
----- Running log... ------
09:39:23:Update SuperResolution. Setting AutoStart=true
09:39:23:Restarting Super Resolution to apply settings change
09:39:23:
09:39:23:Module 'Super Resolution' 2.0.0 (ID: SuperResolution)
09:39:23:Valid: True
09:39:23:Module Path: <root>\modules\SuperResolution
09:39:24:AutoStart: True
09:39:24:Queue: superresolution_queue
09:39:24:Runtime: python3.9
09:39:24:Runtime Loc: Local
09:39:24:FilePath: superres_adapter.py
09:39:24:Start pause: 0 sec
09:39:24:Parallelism: 1
09:39:24:LogVerbosity:
09:39:24:Platforms: all
09:39:24:GPU Libraries: not installed
09:39:24:GPU Enabled: disabled
09:39:24:Accelerator:
09:39:24:Half Precis.: enable
09:39:24:Environment Variables
09:39:24:PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = python
09:39:24:
09:39:24:Started Super Resolution module
09:39:37:Update SuperResolution. Setting AutoStart=false
09:39:37:Stopping Super Resolution
09:39:37:Sending shutdown request to python/SuperResolution
09:39:38:superres_adapter.py: Super Resolution started.
09:39:38:Module SuperResolution has shutdown
09:39:38:superres_adapter.py: has exited
09:40:10:SuperResolution went quietly
modified 9-Apr-24 11:21am.
|
|
|
|
|
Despite what the logs say, can you please confirm the GPU isn't actually getting used for the Super Resolution module?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
here is the log:
reating runtimes path '/app/runtimes'
Creating downloaded models path '/app/downloads/models'
** Old modulesettings schema found for SuperResolution, but not compatible with this server version.
** Old modulesettings schema found for FaceProcessing, but not compatible with this server version.
** Old modulesettings schema found for ALPR, but not compatible with this server version.
** Old modulesettings schema found for OCR, but not compatible with this server version.
Unable to start the server: An item with the same key has already been added. Key: FaceProcessing.
Check that another instance is not running on the same port.
modified 17-Apr-24 13:41pm.
|
|
|
|
|
Can you please look in your /modules folder and list the folders there?
Could also be that you simply need to re-install the module. What platform are you running on?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I had alot of extras that was related to non gpu use and other enhancements.
Tried uninstalling and reinstalling, which didnt help.
Once i deleted the folders for the docker, it worked. I reinstalled the add-ons, which broke it again.
Re-deleted, left it vanilla and its still working since yesterday.
Running in unraid.
|
|
|
|
|
Thanks very much for the follow-up. Could you please let me know which add-ons you mean? (or modules?)
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
License Plate Reader, Optical Character Recognition, Super Resolution, Training for YoloV5 6.2
|
|
|
|
|
Thanks again. This issue has been found, fixed and will be available in the next version.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I know the YoloV5 6.2 training module has been around for a bit now, I'm wondering if a v8 version is being planned or will be coming at any point in the future?
modified 16-Apr-24 12:06pm.
|
|
|
|