|
Interesting.
According to Intel® Celeron® Processor N5095, the processor supports Intel® SSE4.2 which includes AVX. So why PaddlePaddle thinks it doesn't is a mystery.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Yeah I looked that up so I ran hwInfo and that reports no AVX support. Then I discovered that intel hobbled AVX support in Jasper Lake celerons in a microcode release.
So really I was bringing this up because I would aamgine a lot of people would use cheaper celeron mini pc's as home AI servers and this is a bit of an issue for that.

|
|
|
|
|
We've added this to our TODO list
cheers
Chris Maunder
|
|
|
|
|
|
on 2.0.7-Beta, testing localhost:32168
while few times face is recognized, other times it just responds with error, same issue with 2.0.6-Beta
in err_trace, getting this message
File \"C:\\Program Files\\CodeProject\\AI\\AnalysisLayer\\bin\\windows\\python37\\venv\\lib\\site-packages\\torch\\nn\\modules\\conv.py\", line 443, in _conv_forward\n self.padding, self.dilation, self.groups)\nRuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR\n"
"An Error occured during processing"
System Info:
Operating System: Windows (Microsoft Windows 10.0.19042)
CPUs: 1 CPU x 4 cores. 8 logical processors (x64)
GPU: (NVidia) CUDA: 11.4 Compute:
System RAM: 16 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.2
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Video adapter info:
NVIDIA GeForce MX450:
Adapter RAM 2 GiB
Driver Version 30.0.14.7298
Video Processor NVIDIA GeForce MX450
Intel(R) Iris(R) Xe Graphics:
Adapter RAM 1,024 MiB
Driver Version 30.0.101.1404
Video Processor Intel(R) Iris(R) Xe Graphics Family
Global Environment variables:
CPAI_APPROOTPATH = C:\Program Files\CodeProject\AI
CPAI_PORT = 32168
NTERNAL_ERROR\n"
|
|
|
|
|
My guess is you're running out of RAM on your card.
cheers
Chris Maunder
|
|
|
|
|
I have been playing with this for a few days and have failed to successfully run any samples. Primarily I have been trying to do a POST to the BackgroundRemover which results in "The Request Timed Out." I just noticed that although the BackgroundRemover module shows as "started" in the monitor, that it really isnt. . .here is the log when I start that module. I am running 2.07 change 1, can anybody suggest something that will get me running a functional sample?
17:51:35:Started Background Remover module
17:51:37:rembg_adapter.py: Traceback (most recent call last):
17:51:37:rembg_adapter.py: File "C:\Program Files\CodeProject\AI\modules\BackgroundRemover\rembg_adapter.py", line 35, in
17:51:37:rembg_adapter.py: from rembg.bg import remove
17:51:37:rembg_adapter.py: File "C:\Program Files\CodeProject\AI\modules\BackgroundRemover\rembg\__init__.py", line 11, in
17:51:37:rembg_adapter.py: from .bg import remove
17:51:37:rembg_adapter.py: File "C:\Program Files\CodeProject\AI\modules\BackgroundRemover\rembg\bg.py", line 6, in
17:51:37:rembg_adapter.py: import numpy as np
17:51:37:rembg_adapter.py: ModuleNotFoundError: No module named 'numpy'
17:51:37:Module BackgroundRemover has shutdown
|
|
|
|
|
We need a little more info please
- Does the dashboard (http://localhost:32168) show the modules as started?
- Are you running the CodeProject.AI Explorer (link at top of dashboard) or are you running the 'python' samples? Or are you trying to send POSTs through something like Postman?
Describe how you're trying to use the service and we'll try and walk through what you need.
cheers
Chris Maunder
|
|
|
|
|
Thanks Chris. Yes, the dashboard shows the module as started. . .I have been trying to limit it to just running the module I am trying. That was the thing I was trying to report with the last post. . .that even though it threw an error in the dashboard logs that made it seem that it was not running, it still showed green and said running.
I had gone to the AI Explorer, but did not do anything from there, I was not sure what to do there. I was actually running posts from Visual Studios. . .stepping through in code (C#). I also tried one of the Javascript examples, also from code. The error I reported (ambiguous "request timed out") was what I received to my HttpResponseMessage response = await client.PostAsync call.
|
|
|
|
|
I would suggest trying the explorer first.
- Enable one of the YOLO modules. These do object detection.
- In the explorer, the first tab (Vision) has "Object Detection". Use the file chooser to select an image (we provide sample images in C:\Program Files\CodeProject\AI\TestData) and click 'detect things'. Let me know if that works.
cheers
Chris Maunder
|
|
|
|
|
That worked and allowed me to make a call from code. Im getting a response from the server (indicating I am missing something). . .but that a least is from the server. So that moves me along. . .I will play from here and see if I cant get a positive response and then move back to trying the other module. Thanks!
G
|
|
|
|
|
Every time I install any version after 2.0.2, I get the error shown below in the Windows 10 Event Viewer. This is my most recent attempt to install 2.0.6. I posted this on the insiders discussion but I'm not getting any replies, so I thought I would try here. Very frustrating.

Application: CodeProject.AI.Server.exe
CoreCLR Version: 7.0.222.60605
.NET Version: 7.0.2
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException: The type initializer for 'CodeProject.AI.SDK.Common.SystemInfo' threw an exception.
---> System.Management.ManagementException: Invalid class
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Linq.Enumerable.CastIterator[TResult](IEnumerable source)+MoveNext()
at CodeProject.AI.SDK.Common.SystemInfo..cctor()
--- End of inner exception stack trace ---
at CodeProject.AI.SDK.Common.SystemInfo.get_OperatingSystem()
at CodeProject.AI.API.Server.Frontend.Program.Main(String[] args)
at CodeProject.AI.API.Server.Frontend.Program.(String[] args)
|
|
|
|
|
This is basically saying that the Environment.OSVersion call in .NET is failing. Which I've not come across before. I'll pass this to @Matthew-Dennis for his thoughts.
cheers
Chris Maunder
|
|
|
|
|
|
It seems like the API can only be used for one property at a time, so you can change 1 setting with 1 request. This means to update a set of config you need to make about 10 requests.
Instead of passing in
name: activate
value: True
and then on a new request
name: supportGPU
value: True
It would be preferable to either POST a form array like:
activate: True
supportGPU: True
parallelism: 1
postStartPauseSecs: 0
.. etc
Or just POST in some JSON like (for ALPR):
{"environmentVariables":{"PLATE_CONFIDENCE":"0.4"},"settings":{"activate":true,"supportGPU":false,"parallelism":1,"postStartPauseSecs":6}}
and be able to update the config in one hit.
For some context I'm building out a UI for this in Agent DVR


modified 29-Jan-23 9:03am.
|
|
|
|
|
I have the service that does not start Codeproject does not start Error 1053
The service did not
respond quickly enough to the launch or control request.
I uninstall everything reinstall
Windows 10 Pro
|
|
|
|
|
Same problem with version 2.0.6, Windows 10 and blue Iris
|
|
|
|
|
Same for me, just posted my info in a separate topic.
|
|
|
|
|
I am doing OK with 2.0.7 but had to put BI back to 5.8.6.4. Will try updated docker image later today.
>64
Some days the dragon wins. Suck it up.
|
|
|
|
|
This has nothing to do with BI. CPAI says it installs successfully but won't run. Service won't even start due to the error I included above. v2.0.2 works, versions after 2.0.2 don't work for me.
|
|
|
|
|
Developers...
I uninstalled v2.0.2 and manually removed the Code Project directories from Program Files and Program Data. Re-booted and tried to install v2.0.7. It said that it successfully installed but it's not running. A .NET error and application error are shown in the Windows Event Viewer. I'm willing to help by doing a remote session etc. Others have reported this same issue in the BI user forum. See below for details.
Application Error
Faulting application name: CodeProject.AI.Server.exe, version: 2.0.7.0, time stamp: 0x638f99ee
Faulting module name: KERNELBASE.dll, version: 10.0.19041.2193, time stamp: 0x7f7062e1
Exception code: 0xe0434352
Fault offset: 0x000000000002cd29
Faulting process id: 0x25c8
Faulting application start time: 0x01d9340964dda98a
Faulting application path: C:\Program Files\CodeProject\AI\Server\CodeProject.AI.Server.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 91d35857-2a5e-4acc-8579-77092ff64439
Faulting package full name:
Faulting package-relative application ID:
.NET Error
Application: CodeProject.AI.Server.exe
CoreCLR Version: 7.0.222.60605
.NET Version: 7.0.2
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException: The type initializer for 'CodeProject.AI.SDK.Common.SystemInfo' threw an exception.
---> System.Management.ManagementException: Invalid class
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Hardware.Info.Windows.HardwareInfoRetrieval.GetOs()
at Hardware.Info.Windows.HardwareInfoRetrieval..ctor(Nullable`1 enumerationOptionsTimeout)
at Hardware.Info.HardwareInfo..ctor(Boolean useAsteriskInWMI, Nullable`1 timeoutInWMI)
at CodeProject.AI.SDK.Common.SystemInfo..cctor()
--- End of inner exception stack trace ---
at CodeProject.AI.SDK.Common.SystemInfo.get_OperatingSystem()
at CodeProject.AI.API.Server.Frontend.Program.Main(String[] args)
at CodeProject.AI.API.Server.Frontend.Program.(String[] args)
|
|
|
|
|
|
|
Code you reply with a copy of the data in the System Info tab along with the Manufacture and Model of your CPU.
The Exception stack trace indicates that there is an error occurring in an unexpected place and we will track this bug down and squash it.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|