|
I haven’t been running in docker, so I would suggest trying it, finding out, and let us know.
|
|
|
|
|
You'll need to pass through the pcie device -
i.e.
/dev/apex_0:/dev/apex_0
|
|
|
|
|
I followed all the installation instructions.
I also:
Installed .NET, HomeBrew, XCode & Visual Studio Code.
I ran eval "$(/opt/homebrew/bin/brew shellenv)"
edited the /etc/sudoers file with visudo to make my user ALL = (ALL:ALL) ALL
I installed modules, one at a time, rebooted, uninstalled them, rebooted, reinstalled them, etc. but, I'm still getting this error log:
Any assistance would be gratefully received.
12:49:31:System: macOS
12:49:31:Operating System: macOS (Darwin 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8103)
12:49:31:CPUs: Apple M1 (Apple)
12:49:31: 1 CPU x 8 cores. 8 logical processors (Arm64)
12:49:31:GPU (Primary): Apple Silicon (Apple)
12:49:31:System RAM: 16 GiB
12:49:31:Platform: macOS-Arm64
12:49:31:BuildConfig: Release
12:49:31:Execution Env: Native
12:49:31:Runtime Env: Production
12:49:31:.NET framework: .NET 7.0.10
12:49:31:Default Python: 3.9
12:49:31:App DataDir: /Library/Application Support/CodeProject/AI
12:49:31:Video adapter info:
12:49:31: Apple M1:
12:49:31: Driver Version
12:49:31: Video Processor Apple M1
12:49:31:STARTING CODEPROJECT.AI SERVER
12:49:31:RUNTIMES_PATH = /Library/CodeProject.AI Server/2.5.1/runtimes
12:49:31:PREINSTALLED_MODULES_PATH = /Library/CodeProject.AI Server/2.5.1/preinstalled-modules
12:49:31:MODULES_PATH = /Library/CodeProject.AI Server/2.5.1/modules
12:49:31:PYTHON_PATH = /bin/macos/%PYTHON_NAME%/venv/bin/python3
12:49:31:Data Dir = /Library/Application Support/CodeProject/AI
12:49:31:Server version: 2.5.1
12:49:37:Server: This is the latest version
12:51:15:Preparing to install module 'FaceProcessing'
12:51:15:Downloading module 'FaceProcessing'
12:51:16:Installing module 'FaceProcessing'
12:51:16:FaceProcessing: Setting verbosity to quiet
12:51:17:FaceProcessing: 48:64: execution error: Terminal got an error: AppleEvent handler failed. (-10000)
12:51:17:FaceProcessing: Installing CodeProject.AI Analysis Module
12:51:17:FaceProcessing: ======================================================================
12:51:17:FaceProcessing: CodeProject.AI Installer
12:51:17:FaceProcessing: ======================================================================
12:51:17:FaceProcessing: 184.09 GiB of 233.05 GiB available on macos
12:51:17:FaceProcessing: Installing brew (x64 for arm64)...
12:51:17:FaceProcessing: Warning: Running in non-interactive mode because `stdin` is not a TTY.
12:51:17:FaceProcessing: ==> Checking for `sudo` access (which may request your password)...
12:51:17:FaceProcessing: Need sudo access on macOS (e.g. the user ian needs to be an Administrator)!
12:51:17:Module FaceProcessing installed successfully.
12:51:17:Installer exited with code 10
12:51:17:
12:51:17:Module 'Face Processing' 1.10.0 (ID: FaceProcessing)
12:51:17:Valid: True
12:51:17:Module Path: <root>/modules/FaceProcessing
12:51:17:AutoStart: True
12:51:17:Queue: faceprocessing_queue
12:51:17:Runtime: python3.8
12:51:17:Runtime Loc: Shared
12:51:17:FilePath: intelligencelayer/face.py
12:51:17:Pre installed: False
12:51:17:Start pause: 3 sec
12:51:17:LogVerbosity:
12:51:17:Platforms: all,!raspberrypi,!jetson
12:51:17:GPU Libraries: installed if available
12:51:17:GPU Enabled: enabled
12:51:17:Parallelism: 0
12:51:17:Accelerator:
12:51:17:Half Precis.: enable
12:51:17:Environment Variables
12:51:17:APPDIR = <root>/modules/FaceProcessing/intelligencelayer
12:51:17:DATA_DIR = /Library/Application Support/CodeProject/AI
12:51:17:MODE = MEDIUM
12:51:17:MODELS_DIR = <root>/modules/FaceProcessing/assets
12:51:17:PROFILE = desktop_gpu
12:51:17:PYTORCH_ENABLE_MPS_FALLBACK = 1
12:51:17:USE_CUDA = True
12:51:17:YOLOv5_AUTOINSTALL = false
12:51:17:YOLOv5_VERBOSE = false
12:51:17:
12:51:17:Error trying to start Face Processing (intelligencelayer/face.py)
12:51:17:Error is: An error occurred trying to start process '/Library/CodeProject.AI Server/2.5.1/runtimes/bin/macos/python38/venv/bin/python3' with working directory '/Library/CodeProject.AI Server/2.5.1/modules/FaceProcessing'. No such file or directory
12:51:17: 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, String installSummary)
12:51:17:Please check the CodeProject.AI installation completed successfully
12:51:17:Module FaceProcessing started successfully.
12:52:41:Update FaceProcessing. Setting CPAI_HALF_PRECISION=enable
12:52:41:Restarting Face Processing to apply settings change
12:52:41:FaceProcessing has left the building
12:52:41:
12:52:41:Module 'Face Processing' 1.10.0 (ID: FaceProcessing)
12:52:41:Valid: True
12:52:41:Module Path: <root>/modules/FaceProcessing
12:52:41:AutoStart: True
12:52:41:Queue: faceprocessing_queue
12:52:41:Runtime: python3.8
12:52:41:Runtime Loc: Shared
12:52:41:FilePath: intelligencelayer/face.py
12:52:41:Pre installed: False
12:52:41:Start pause: 3 sec
12:52:41:LogVerbosity:
12:52:41:Platforms: all,!raspberrypi,!jetson
12:52:41:GPU Libraries: installed if available
12:52:41:GPU Enabled: enabled
12:52:41:Parallelism: 0
12:52:41:Accelerator:
12:52:41:Half Precis.: enable
12:52:41:Environment Variables
12:52:41:APPDIR = <root>/modules/FaceProcessing/intelligencelayer
12:52:41:DATA_DIR = /Library/Application Support/CodeProject/AI
12:52:41:MODE = MEDIUM
12:52:41:MODELS_DIR = <root>/modules/FaceProcessing/assets
12:52:41:PROFILE = desktop_gpu
12:52:41:PYTORCH_ENABLE_MPS_FALLBACK = 1
12:52:41:USE_CUDA = True
12:52:41:YOLOv5_AUTOINSTALL = false
12:52:41:YOLOv5_VERBOSE = false
12:52:41:CPAI_HALF_PRECISION = enable
12:52:41:
12:52:41:Error trying to start Face Processing (intelligencelayer/face.py)
12:52:41:Error is: An error occurred trying to start process '/Library/CodeProject.AI Server/2.5.1/runtimes/bin/macos/python38/venv/bin/python3' with working directory '/Library/CodeProject.AI Server/2.5.1/modules/FaceProcessing'. No such file or directory
12:52:41: 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, String installSummary)
12:52:41:Please check the CodeProject.AI installation completed successfully
12:52:50:Update FaceProcessing. Setting Restart=now
12:52:50:FaceProcessing has left the building
12:52:50:
12:52:50:Module 'Face Processing' 1.10.0 (ID: FaceProcessing)
12:52:50:Valid: True
12:52:50:Module Path: <root>/modules/FaceProcessing
12:52:50:AutoStart: True
12:52:50:Queue: faceprocessing_queue
12:52:50:Runtime: python3.8
12:52:50:Runtime Loc: Shared
12:52:50:FilePath: intelligencelayer/face.py
12:52:50:Pre installed: False
12:52:50:Start pause: 3 sec
12:52:50:LogVerbosity:
12:52:50:Platforms: all,!raspberrypi,!jetson
12:52:50:GPU Libraries: installed if available
12:52:50:GPU Enabled: enabled
12:52:50:Parallelism: 0
12:52:50:Accelerator:
12:52:50:Half Precis.: enable
12:52:50:Environment Variables
12:52:50:APPDIR = <root>/modules/FaceProcessing/intelligencelayer
12:52:50:DATA_DIR = /Library/Application Support/CodeProject/AI
12:52:50:MODE = MEDIUM
12:52:50:MODELS_DIR = <root>/modules/FaceProcessing/assets
12:52:50:PROFILE = desktop_gpu
12:52:50:PYTORCH_ENABLE_MPS_FALLBACK = 1
12:52:50:USE_CUDA = True
12:52:50:YOLOv5_AUTOINSTALL = false
12:52:50:YOLOv5_VERBOSE = false
12:52:50:CPAI_HALF_PRECISION = enable
12:52:50:
12:52:50:Error trying to start Face Processing (intelligencelayer/face.py)
12:52:50:Error is: An error occurred trying to start process '/Library/CodeProject.AI Server/2.5.1/runtimes/bin/macos/python38/venv/bin/python3' with working directory '/Library/CodeProject.AI Server/2.5.1/modules/FaceProcessing'. No such file or directory
12:52:50: 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, String installSummary)
12:52:50:Please check the CodeProject.AI installation completed successfully
12:53:21:Update FaceProcessing. Setting AutoStart=true
12:53:21:Restarting Face Processing to apply settings change
12:53:21:FaceProcessing has left the building
12:53:21:
12:53:21:Module 'Face Processing' 1.10.0 (ID: FaceProcessing)
12:53:21:Valid: True
12:53:21:Module Path: <root>/modules/FaceProcessing
12:53:21:AutoStart: True
12:53:21:Queue: faceprocessing_queue
12:53:21:Runtime: python3.8
12:53:21:Runtime Loc: Shared
12:53:21:FilePath: intelligencelayer/face.py
12:53:21:Pre installed: False
12:53:21:Start pause: 3 sec
12:53:21:LogVerbosity:
12:53:21:Platforms: all,!raspberrypi,!jetson
12:53:21:GPU Libraries: installed if available
12:53:21:GPU Enabled: enabled
12:53:21:Parallelism: 0
12:53:21:Accelerator:
12:53:21:Half Precis.: enable
12:53:21:Environment Variables
12:53:21:APPDIR = <root>/modules/FaceProcessing/intelligencelayer
12:53:21:DATA_DIR = /Library/Application Support/CodeProject/AI
12:53:21:MODE = MEDIUM
12:53:21:MODELS_DIR = <root>/modules/FaceProcessing/assets
12:53:21:PROFILE = desktop_gpu
12:53:21:PYTORCH_ENABLE_MPS_FALLBACK = 1
12:53:21:USE_CUDA = True
12:53:21:YOLOv5_AUTOINSTALL = false
12:53:21:YOLOv5_VERBOSE = false
12:53:21:CPAI_HALF_PRECISION = enable
12:53:21:
12:53:21:Error trying to start Face Processing (intelligencelayer/face.py)
12:53:21:Error is: An error occurred trying to start process '/Library/CodeProject.AI Server/2.5.1/runtimes/bin/macos/python38/venv/bin/python3' with working directory '/Library/CodeProject.AI Server/2.5.1/modules/FaceProcessing'. No such file or directory
12:53:21: 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, String installSummary)
12:53:21:Please check the CodeProject.AI installation completed successfully
Logging level Info
|
|
|
|
|
That's odd. It looks like <root>/modules/FaceProcessing/ exists (where root = /Library/CodeProject.AI Server/2.5.1). Can you confirm?
A large hammer you could try is to open a terminal and type
pushd /Library/CodeProject.AI Server/2.5.1/modules/FaceProcessing
sudo bash ../../setup.sh
popd
This forces a reinstall of the module under sudo. If it fails, can you please post the output here?
[Update: I ran through a fresh install of 2.5.1 on my M1 mac mini and everything went smoothly. That clearly doesn't help you, but it suggest a difference in our systems could be the issue.]
cheers
Chris Maunder
modified 29-Jan-24 9:48am.
|
|
|
|
|
Hi Chris,
Thanks for your help. After your update I did a fresh install on my iMac 24". I'm still having problems.
I tried your "big hammer" and got this output:
pushd "/Library/CodeProject.AI Server/2.5.1/modules/FaceProcessing"
sudo bash ../../setup.sh
popd
/Library/CodeProject.AI Server/2.5.1/modules/FaceProcessing /Library/CodeProject.AI Server/2.5.1
Installing CodeProject.AI Analysis Module
======================================================================
CodeProject.AI Installer
======================================================================
196.06 GiB of 233.05 GiB available on macos
Installing brew (x64 for arm64)...
==> Checking for `sudo` access (which may request your password)...
Don't run this as root!
/Library/CodeProject.AI Server/2.5.1
|
|
|
|
|
I would agree that it seems our systems are "different" somehow.
Perhaps you could tell me, step by step, how you re-initialised your M1 up to the point you had CodeProject.AI Server up and running. Then I could play "follow the leader"?
|
|
|
|
|
My macOS setup is very vanilla, but I have setup a bunch of things for dev work including Homebrew and macPorts (which the installer will warn you about or install), as well as the .NET SDK (which again, the installer will warn you about).
It looks like an issue with brew. For M1s there's the whole arm64 vs x64 issue, and the script attempts to install an x64 version of brew running under Rosetta for installing pre python 3.9 versions.
It would be worth checking to see if `arch -x86_64 /usr/local/bin/brew` works. If not, then the install script didn't work, and I think I can see the reason why in the script (update made - but a bit late for you!)
Try running
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
and then try running the installer again
cheers
Chris Maunder
|
|
|
|
|
Hi Chris,
PROBLEM SOLVED! Thanks a lot for all your help, I'm very grateful. Ive rebooted the iMac several times and the CodeProject.AI Server starts up, with no issues, every time.
Now to start messing about with Agent DVR.
|
|
|
|
|
Yes! That's awesome. Thanks in turn for your patience.
cheers
Chris Maunder
|
|
|
|
|
Hello everyone,
I'm new to this forum and I'm currently in the midst of a decision-making process regarding the optimal GPU usage for running CPAI on Blue Iris, particularly for a single-camera setup at my home. The primary purpose is to detect human presence while effectively filtering out false triggers due to weather conditions.
At present, I own a RTX 3080, which I'm considering repurposing for this task, especially since I'm contemplating an upgrade to one of the 4000 series super cards in the near future. However, I'm deliberating whether the 3080 might be overkill for my specific requirements.
After substantial research and discussions on the Blue Iris forum, the consensus appears to be in favour of the GTX 1650. It's been recommended as a more than adequate solution for CPAI, offering sufficient processing speed while maintaining lower power consumption.
My current setup relies solely on CPU processing, resulting in a latency of about 120-200ms for image processing. In contrast, I came across a post on the Blue Iris forum indicating that the GTX 1650 could potentially reduce this latency to around 30+ms. This substantial improvement naturally piques my interest.
However, I can't help but wonder about the potential benefits of deploying my GTX 3080 for this purpose. Would there be a significant advantage in terms of processing speed or efficiency? I've noticed that a fellow member, MikeLud, is conducting tests with a GTX 4090, which adds another layer of curiosity regarding the performance spectrum of these GPUs.
While I'm currently leaning towards the GTX 1650, primarily due to its power efficiency and seemingly adequate capabilities for my needs, I'm eager to hear your thoughts and experiences. Has anyone here used a GTX 3080/3080TI for a similar setup? If so, what were your observations regarding latency, power consumption, and overall performance?
Your insights and any additional information you can provide would be greatly appreciated. I’m looking to make the most informed decision to ensure efficient and effective surveillance at my home.
Thank you in advance for your valuable input!
Best regards
|
|
|
|
|
Inference speed depends a lot on hardware, the module you use and the size of the model you use.
Here's what I get on my machine using an NVIDIA 3060, a 1030, and CPU
RTX 3060:
YOLOv8, Medium model: < 30ms
YOLOv5 6.2, Medium: 90ms - 150ms
YOLOv5 .NET, Medium: 90ms - 180ms
GT 1030:
YOLOv8, Medium model: < 120ms
YOLOv5 6.2, Medium: 80ms
YOLOv5 .NET, Medium: 100ms
CPU (i5-10400F CPU @ 2.90GHz)
YOLOv8, Medium model: 100 - 200ms
YOLOv5 6.2, Medium: 330ms
YOLOv5 .NET, Medium: 175ms
But on my Raspberry Pi 4 with a $50 Coral.AI TPU I get 20ms, albeit using a tiny model that's good, but not great in terms of accuracy.
cheers
Chris Maunder
|
|
|
|
|
Appreciate the insight
|
|
|
|
|
Everything was working fine on the last beta version but once I updated last night to the latest 2.5.1 version of codeproject I can't get any Object Detection Module to run at all. I keep getting install errors and have completely uninstalled codeproject and deleted directories and restarted the computer many many times.
‐‐---‐---‐---‐------------------------
<pre>12:50:19:System: Windows
12:50:19:Operating System: Windows (Microsoft Windows 11 version 10.0.22631)
12:50:19:CPUs: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (Intel)
12:50:19: 1 CPU x 6 cores. 6 logical processors (x64)
12:50:19:GPU (Primary): NVIDIA GeForce GTX 1650 (4 GiB) (NVIDIA)
12:50:19: Driver: 551.23, CUDA: 12.4 (up to: 12.4), Compute: 7.5, cuDNN: 8.5
12:50:19:System RAM: 32 GiB
12:50:19:Platform: Windows
12:50:19:BuildConfig: Release
12:50:19:Execution Env: Native
12:50:19:Runtime Env: Production
12:50:19:.NET framework: .NET 7.0.5
12:50:19:Default Python:
12:50:19:App DataDir: C:\ProgramData\CodeProject\AI
12:50:19:Video adapter info:
12:50:19: NVIDIA GeForce GTX 1650:
12:50:19: Driver Version 31.0.15.5123
12:50:19: Video Processor NVIDIA GeForce GTX 1650
12:50:19: Intel(R) UHD Graphics 630:
12:50:19: Driver Version 31.0.101.2115
12:50:19: Video Processor Intel(R) UHD Graphics Family
12:50:19:STARTING CODEPROJECT.AI SERVER
12:50:19:RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
12:50:19:PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
12:50:19:MODULES_PATH = C:\Program Files\CodeProject\AI\modules
12:50:19:PYTHON_PATH = \bin\windows\%PYTHON_NAME%\venv\Scripts\python
12:50:19:Data Dir = C:\ProgramData\CodeProject\AI
12:50:19:Server version: 2.5.1
12:50:20:ModuleRunner Start
12:50:20:Starting Background AI Modules
12:50:23:Setting up initial modules. Please be patient...
12:50:23:Installing initial module FaceProcessing.
12:50:23:Preparing to install module 'FaceProcessing'
12:50:23:Downloading module 'FaceProcessing'
12:50:24:Installing module 'FaceProcessing'
12:50:24:Installer script at 'C:\Program Files\CodeProject\AI\setup.bat'
12:50:24:FaceProcessing: Installing CodeProject.AI Analysis Module
12:50:24:FaceProcessing: ======================================================================
12:50:25:FaceProcessing: CodeProject.AI Installer
12:50:25:FaceProcessing: ======================================================================
12:50:25:Current Version is 2.5.1
12:50:25:Server: This is the latest version
12:50:25:FaceProcessing: 309.1Gb of 482Gb available on Windows
12:50:25:FaceProcessing: General CodeProject.AI setup
12:50:26:FaceProcessing: Creating Directories...Done
12:50:26:FaceProcessing: GPU support
12:50:27:FaceProcessing: CUDA Present...Yes (CUDA 12.3, cuDNN 8.5)
12:50:28:FaceProcessing: ROCm Present...No
12:50:31:FaceProcessing: Reading FaceProcessing settings.......Done
12:50:31:FaceProcessing: Installing module Face Processing 1.10.0
12:50:31:FaceProcessing: Installing Python 3.7
12:50:32:FaceProcessing: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:32:FaceProcessing: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:32:FaceProcessing: the file specified.
12:50:32:FaceProcessing: At line:1 char:1
12:50:32:FaceProcessing: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
12:50:32:FaceProcessing: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:50:32:FaceProcessing: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
12:50:32:FaceProcessing: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
12:50:32:FaceProcessing: tsTransferCommand
12:50:33:FaceProcessing: Get-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:33:FaceProcessing: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:33:FaceProcessing: the file specified.
12:50:33:FaceProcessing: At line:1 char:1
12:50:33:FaceProcessing: + Get-BitsTransfer | Remove-BitsTransfer
12:50:33:FaceProcessing: + ~~~~~~~~~~~~~~~~
12:50:33:FaceProcessing: + CategoryInfo : NotSpecified: ( [Get-BitsTransfer], FileNotFoundException
12:50:33:FaceProcessing: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.GetBi
12:50:33:FaceProcessing: tsTransfer
12:50:34:FaceProcessing: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:34:FaceProcessing: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:34:FaceProcessing: the file specified.
12:50:34:FaceProcessing: At line:1 char:1
12:50:34:FaceProcessing: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
12:50:34:FaceProcessing: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:50:34:FaceProcessing: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
12:50:34:FaceProcessing: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
12:50:34:FaceProcessing: tsTransferCommand
12:50:34:FaceProcessing: Downloading Python 3.7 interpreter...BITS transfer failed. Trying Powershell....
12:50:35:FaceProcessing: Invoke-WebRequest : The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, function, script file, or
12:50:35:FaceProcessing: operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
12:50:35:FaceProcessing: again.
12:50:35:FaceProcessing: At line:1 char:1
12:50:35:FaceProcessing: + Invoke-WebRequest 'https://codeproject-ai.s3.ca-central-1.amazonaws.c ...
12:50:35:FaceProcessing: + ~~~~~~~~~~~~~~~~~
12:50:35:FaceProcessing: + CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], CommandNotFoundException
12:50:35:FaceProcessing: + FullyQualifiedErrorId : CommandNotFoundException
12:50:35:FaceProcessing: Download failed. Sorry.
12:50:35:FaceProcessing: '"C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\python.exe"' is not recognized as an internal or external command,
12:50:35:FaceProcessing: operable program or batch file.
12:50:35:FaceProcessing: Creating Virtual Environment (Shared)...Done
12:50:35:FaceProcessing: The system cannot find the path specified.
12:50:35:FaceProcessing: Confirming we have Python 3.7 in our virtual environment...
12:50:35:Module FaceProcessing installed successfully.
12:50:35:Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
12:50:35:
12:50:35:Attempting to start FaceProcessing with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\FaceProcessing\intelligencelayer\face.py"
12:50:35:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...ing\intelligencelayer\face.py"
12:50:35:
12:50:35:Module 'Face Processing' 1.10.0 (ID: FaceProcessing)
12:50:35:Valid: True
12:50:35:Module Path: <root>\modules\FaceProcessing
12:50:35:AutoStart: True
12:50:35:Queue: faceprocessing_queue
12:50:35:Runtime: python3.7
12:50:35:Runtime Loc: Shared
12:50:35:FilePath: intelligencelayer\face.py
12:50:35:Pre installed: False
12:50:35:Start pause: 3 sec
12:50:35:LogVerbosity:
12:50:35:Platforms: all,!raspberrypi,!jetson
12:50:35:GPU Libraries: installed if available
12:50:35:GPU Enabled: enabled
12:50:35:Parallelism: 0
12:50:35:Accelerator:
12:50:35:Half Precis.: enable
12:50:35:Environment Variables
12:50:35:APPDIR = <root>\modules\FaceProcessing\intelligencelayer
12:50:35:DATA_DIR = C:\ProgramData\CodeProject\AI
12:50:35:MODE = MEDIUM
12:50:35:MODELS_DIR = <root>\modules\FaceProcessing\assets
12:50:35:PROFILE = desktop_gpu
12:50:35:USE_CUDA = True
12:50:35:YOLOv5_AUTOINSTALL = false
12:50:35:YOLOv5_VERBOSE = false
12:50:35:
12:50:35:Error trying to start Face Processing (intelligencelayer/face.py)
12:50:35:Error is: An error occurred trying to start process 'C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python' with working directory 'C:\Program Files\CodeProject\AI\modules\FaceProcessing'. The system cannot find the file specified.
12:50:35: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
12:50:35:Please check the CodeProject.AI installation completed successfully
12:50:35:Module FaceProcessing started successfully.
12:50:35:Installer exited with code 255
12:50:35:Installing initial module ObjectDetectionYOLOv5-6.2.
12:50:35:Preparing to install module 'ObjectDetectionYOLOv5-6.2'
12:50:35:Downloading module 'ObjectDetectionYOLOv5-6.2'
12:50:35:Installing module 'ObjectDetectionYOLOv5-6.2'
12:50:35:Installer script at 'C:\Program Files\CodeProject\AI\setup.bat'
12:50:35:ObjectDetectionYOLOv5-6.2: Installing CodeProject.AI Analysis Module
12:50:36:ObjectDetectionYOLOv5-6.2: ======================================================================
12:50:36:ObjectDetectionYOLOv5-6.2: CodeProject.AI Installer
12:50:36:ObjectDetectionYOLOv5-6.2: ======================================================================
12:50:36:ObjectDetectionYOLOv5-6.2: 309.1Gb of 482Gb available on Windows
12:50:36:ObjectDetectionYOLOv5-6.2: General CodeProject.AI setup
12:50:36:ObjectDetectionYOLOv5-6.2: Creating Directories...Done
12:50:36:ObjectDetectionYOLOv5-6.2: GPU support
12:50:37:ObjectDetectionYOLOv5-6.2: CUDA Present...Yes (CUDA 12.3, cuDNN 8.5)
12:50:37:ObjectDetectionYOLOv5-6.2: ROCm Present...No
12:50:40:ObjectDetectionYOLOv5-6.2: Reading ObjectDetectionYOLOv5-6.2 settings.......Done
12:50:40:ObjectDetectionYOLOv5-6.2: Installing module Object Detection (YOLOv5 6.2) 1.9.0
12:50:40:ObjectDetectionYOLOv5-6.2: Installing Python 3.7
12:50:40:ObjectDetectionYOLOv5-6.2: '"C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\python.exe"' is not recognized as an internal or external command,
12:50:40:ObjectDetectionYOLOv5-6.2: operable program or batch file.
12:50:40:ObjectDetectionYOLOv5-6.2: Creating Virtual Environment (Shared)...Done
12:50:40:ObjectDetectionYOLOv5-6.2: The system cannot find the path specified.
12:50:40:ObjectDetectionYOLOv5-6.2: Confirming we have Python 3.7 in our virtual environment...
12:50:40:Module ObjectDetectionYOLOv5-6.2 installed successfully.
12:50:40:Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
12:50:40:
12:50:40:Attempting to start ObjectDetectionYOLOv5-6.2 with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2\detect_adapter.py"
12:50:40:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...nYOLOv5-6.2\detect_adapter.py"
12:50:40:
12:50:40:Module 'Object Detection (YOLOv5 6.2)' 1.9.0 (ID: ObjectDetectionYOLOv5-6.2)
12:50:40:Valid: True
12:50:40:Module Path: <root>\modules\ObjectDetectionYOLOv5-6.2
12:50:40:AutoStart: True
12:50:40:Queue: objectdetection_queue
12:50:40:Runtime: python3.7
12:50:40:Runtime Loc: Shared
12:50:40:FilePath: detect_adapter.py
12:50:40:Pre installed: False
12:50:40:Start pause: 1 sec
12:50:40:LogVerbosity:
12:50:40:Platforms: all,!raspberrypi,!jetson
12:50:40:GPU Libraries: installed if available
12:50:40:GPU Enabled: enabled
12:50:40:Parallelism: 0
12:50:40:Accelerator:
12:50:40:Half Precis.: enable
12:50:40:Environment Variables
12:50:40:APPDIR = <root>\modules\ObjectDetectionYOLOv5-6.2
12:50:40:CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\custom-models
12:50:40:MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\assets
12:50:40:MODEL_SIZE = Medium
12:50:40:USE_CUDA = True
12:50:40:YOLOv5_AUTOINSTALL = false
12:50:40:YOLOv5_VERBOSE = false
12:50:40:
12:50:40:Error trying to start Object Detection (YOLOv5 6.2) (detect_adapter.py)
12:50:40:Error is: An error occurred trying to start process 'C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python' with working directory 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2'. The system cannot find the file specified.
12:50:40: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
12:50:40:Please check the CodeProject.AI installation completed successfully
12:50:40:Module ObjectDetectionYOLOv5-6.2 started successfully.
12:50:40:Installer exited with code 255
12:50:40:Installing initial module ObjectDetectionYOLOv5Net.
12:50:40:Preparing to install module 'ObjectDetectionYOLOv5Net'
12:50:40:Downloading module 'ObjectDetectionYOLOv5Net'
12:50:40:Installing module 'ObjectDetectionYOLOv5Net'
12:50:40:Installer script at 'C:\Program Files\CodeProject\AI\setup.bat'
12:50:40:ObjectDetectionYOLOv5Net: Installing CodeProject.AI Analysis Module
12:50:40:ObjectDetectionYOLOv5Net: ======================================================================
12:50:40:ObjectDetectionYOLOv5Net: CodeProject.AI Installer
12:50:40:ObjectDetectionYOLOv5Net: ======================================================================
12:50:41:ObjectDetectionYOLOv5Net: 309.1Gb of 482Gb available on Windows
12:50:41:ObjectDetectionYOLOv5Net: General CodeProject.AI setup
12:50:41:ObjectDetectionYOLOv5Net: Creating Directories...Done
12:50:41:ObjectDetectionYOLOv5Net: GPU support
12:50:42:ObjectDetectionYOLOv5Net: CUDA Present...Yes (CUDA 12.3, cuDNN 8.5)
12:50:42:ObjectDetectionYOLOv5Net: ROCm Present...No
12:50:44:ObjectDetectionYOLOv5Net: Reading ObjectDetectionYOLOv5Net settings.......Done
12:50:44:ObjectDetectionYOLOv5Net: Installing module Object Detection (YOLOv5 .NET) 1.9.2
12:50:45:ObjectDetectionYOLOv5Net: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:45:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:45:ObjectDetectionYOLOv5Net: the file specified.
12:50:45:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:45:ObjectDetectionYOLOv5Net: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
12:50:45:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:50:45:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
12:50:45:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
12:50:45:ObjectDetectionYOLOv5Net: tsTransferCommand
12:50:46:ObjectDetectionYOLOv5Net: Get-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:46:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:46:ObjectDetectionYOLOv5Net: the file specified.
12:50:46:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:46:ObjectDetectionYOLOv5Net: + Get-BitsTransfer | Remove-BitsTransfer
12:50:46:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~
12:50:46:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Get-BitsTransfer], FileNotFoundException
12:50:46:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.GetBi
12:50:46:ObjectDetectionYOLOv5Net: tsTransfer
12:50:47:ObjectDetectionYOLOv5Net: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:47:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:47:ObjectDetectionYOLOv5Net: the file specified.
12:50:47:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:47:ObjectDetectionYOLOv5Net: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
12:50:47:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:50:47:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
12:50:47:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
12:50:47:ObjectDetectionYOLOv5Net: tsTransferCommand
12:50:47:ObjectDetectionYOLOv5Net: Downloading ObjectDetectionYOLOv5Net-DirectML-1.9.2.zip...BITS transfer failed. Trying Powershell....
12:50:48:ObjectDetectionYOLOv5Net: Invoke-WebRequest : The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, function, script file, or
12:50:48:ObjectDetectionYOLOv5Net: operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
12:50:48:ObjectDetectionYOLOv5Net: again.
12:50:48:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:48:ObjectDetectionYOLOv5Net: + Invoke-WebRequest 'https://codeproject-ai.s3.ca-central-1.amazonaws.c ...
12:50:48:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~
12:50:48:ObjectDetectionYOLOv5Net: + CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], CommandNotFoundException
12:50:48:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : CommandNotFoundException
12:50:48:ObjectDetectionYOLOv5Net: Download failed. Sorry.
12:50:48:ObjectDetectionYOLOv5Net: Failed to download and extract ObjectDetectionYOLOv5Net-DirectML-1.9.2.zip
12:50:49:ObjectDetectionYOLOv5Net: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:49:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:49:ObjectDetectionYOLOv5Net: the file specified.
12:50:49:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:49:ObjectDetectionYOLOv5Net: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
12:50:49:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:50:49:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
12:50:49:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
12:50:49:ObjectDetectionYOLOv5Net: tsTransferCommand
12:50:50:ObjectDetectionYOLOv5Net: Get-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:50:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:50:ObjectDetectionYOLOv5Net: the file specified.
12:50:50:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:50:ObjectDetectionYOLOv5Net: + Get-BitsTransfer | Remove-BitsTransfer
12:50:50:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~
12:50:50:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Get-BitsTransfer], FileNotFoundException
12:50:50:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.GetBi
12:50:50:ObjectDetectionYOLOv5Net: tsTransfer
12:50:51:ObjectDetectionYOLOv5Net: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:51:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:51:ObjectDetectionYOLOv5Net: the file specified.
12:50:51:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:51:ObjectDetectionYOLOv5Net: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
12:50:51:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:50:51:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
12:50:51:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
12:50:51:ObjectDetectionYOLOv5Net: tsTransferCommand
12:50:51:ObjectDetectionYOLOv5Net: Downloading YOLO ONNX models...BITS transfer failed. Trying Powershell....
12:50:52:ObjectDetectionYOLOv5Net: Invoke-WebRequest : The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, function, script file, or
12:50:52:ObjectDetectionYOLOv5Net: operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
12:50:52:ObjectDetectionYOLOv5Net: again.
12:50:52:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:52:ObjectDetectionYOLOv5Net: + Invoke-WebRequest 'https://codeproject-ai.s3.ca-central-1.amazonaws.c ...
12:50:52:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~
12:50:52:ObjectDetectionYOLOv5Net: + CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], CommandNotFoundException
12:50:52:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : CommandNotFoundException
12:50:52:ObjectDetectionYOLOv5Net: Download failed. Sorry.
12:50:52:ObjectDetectionYOLOv5Net: Failed to download and extract yolonet-models.zip
12:50:53:ObjectDetectionYOLOv5Net: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:53:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:53:ObjectDetectionYOLOv5Net: the file specified.
12:50:53:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:53:ObjectDetectionYOLOv5Net: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
12:50:53:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:50:53:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
12:50:53:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
12:50:53:ObjectDetectionYOLOv5Net: tsTransferCommand
12:50:53:ObjectDetectionYOLOv5Net: Get-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:53:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:53:ObjectDetectionYOLOv5Net: the file specified.
12:50:54:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:54:ObjectDetectionYOLOv5Net: + Get-BitsTransfer | Remove-BitsTransfer
12:50:54:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~
12:50:54:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Get-BitsTransfer], FileNotFoundException
12:50:54:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.GetBi
12:50:54:ObjectDetectionYOLOv5Net: tsTransfer
12:50:54:ObjectDetectionYOLOv5Net: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
12:50:54:ObjectDetectionYOLOv5Net: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
12:50:54:ObjectDetectionYOLOv5Net: the file specified.
12:50:54:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:54:ObjectDetectionYOLOv5Net: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
12:50:54:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:50:54:ObjectDetectionYOLOv5Net: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
12:50:54:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
12:50:54:ObjectDetectionYOLOv5Net: tsTransferCommand
12:50:54:ObjectDetectionYOLOv5Net: Downloading Custom YOLO ONNX models...BITS transfer failed. Trying Powershell....
12:50:55:ObjectDetectionYOLOv5Net: Invoke-WebRequest : The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, function, script file, or
12:50:55:ObjectDetectionYOLOv5Net: operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
12:50:55:ObjectDetectionYOLOv5Net: again.
12:50:55:ObjectDetectionYOLOv5Net: At line:1 char:1
12:50:55:ObjectDetectionYOLOv5Net: + Invoke-WebRequest 'https://codeproject-ai.s3.ca-central-1.amazonaws.c ...
12:50:55:ObjectDetectionYOLOv5Net: + ~~~~~~~~~~~~~~~~~
12:50:55:ObjectDetectionYOLOv5Net: + CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], CommandNotFoundException
12:50:55:ObjectDetectionYOLOv5Net: + FullyQualifiedErrorId : CommandNotFoundException
12:50:55:ObjectDetectionYOLOv5Net: Download failed. Sorry.
12:50:55:ObjectDetectionYOLOv5Net: Failed to download and extract yolonet-custom-models.zip
12:50:55:ObjectDetectionYOLOv5Net: Self test: .\bin\ObjectDetectionYOLOv5Net.exe does not exist
12:50:55:ObjectDetectionYOLOv5Net: No self-test available
12:50:55:ObjectDetectionYOLOv5Net: Module setup time 00:00:13.56
12:50:56:ObjectDetectionYOLOv5Net: Setup complete
12:50:56:ObjectDetectionYOLOv5Net: Total setup time 00:00:15.06
12:50:56:Module ObjectDetectionYOLOv5Net installed successfully.
12:50:56:Module ObjectDetectionYOLOv5Net not configured to AutoStart.
12:50:56:Installer exited with code 0</pre>
|
|
|
|
|
It looks like you are having the 'System.Management.Automation' bug as described here. The accepted solution is:
Quote: [Import-Module : Could not load file or assembly 'System.Management.Automation] Issue Symptom: unable to run PnP PowerShell commands using PowerShell ISE in administrative mode. Getting following error
Import-Module : Could not load file or assembly 'System.Management.Automation, Version=7.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Solution:
Uninstall all versions and then install correct 1.12.0 version. Newer version PnP PowerShell 2.1.1 has issues #1. This issue happened with newer version PnP PowerShell 2.1.1.
Set Tls12 protocol [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install NuGet Install-PackageProvider -Name nuget -MinimumVersion 2.8.5.201 -force
Install PnP.PowerShell with version 1.12.0 Install-Module -Name "PnP.PowerShell" -RequiredVersion 1.12.0 -Force -AllowClobber
cheers
Chris Maunder
|
|
|
|
|
Thanks so I need the older version of powershell?
|
|
|
|
|
Or try upgrading or reinstalling. It's odd because we do two fallbacks if the BITS transfer fails, with the final one being Invoke-WebRequest via powershell - but even that fails.
There's definitely something odd going on with Powershell on your system
cheers
Chris Maunder
|
|
|
|
|
So I ran the uninstall and reinstall of powershell thanks for that. But I am still having errors and can't get modules to install. I just did a fresh reboot and install and this is the log just after the install and it trying to download and install some modules. I ran some powershell commands to replace the powershellget but that didn't help either. any help is appreciated.
19:46:05:Preparing to install module 'ObjectDetectionYOLOv8'
19:46:05:Downloading module 'ObjectDetectionYOLOv8'
19:46:06:Installing module 'ObjectDetectionYOLOv8'
19:46:06:Installer script at 'C:\Program Files\CodeProject\AI\setup.bat'
19:46:06:ObjectDetectionYOLOv8: Installing CodeProject.AI Analysis Module
19:46:06:ObjectDetectionYOLOv8: ======================================================================
19:46:06:ObjectDetectionYOLOv8: CodeProject.AI Installer
19:46:06:ObjectDetectionYOLOv8: ======================================================================
19:46:06:ObjectDetectionYOLOv8: 308.6Gb of 482Gb available on Windows
19:46:06:ObjectDetectionYOLOv8: os, arch = windows x86_64
19:46:06:ObjectDetectionYOLOv8: systemName, platform = Windows, windows
19:46:06:ObjectDetectionYOLOv8: setupMode = InstallModule
19:46:06:ObjectDetectionYOLOv8: executionEnvironment = Production
19:46:06:ObjectDetectionYOLOv8: rootDirPath = C:\Program Files\CodeProject\AI
19:46:06:ObjectDetectionYOLOv8: appRootDirPath = C:\Program Files\CodeProject\AI\
19:46:06:ObjectDetectionYOLOv8: setupScriptDirPath = C:\Program Files\CodeProject\AI\
19:46:06:ObjectDetectionYOLOv8: sdkScriptsDirPath = C:\Program Files\CodeProject\AI\SDK\Scripts
19:46:07:ObjectDetectionYOLOv8: runtimesDirPath = C:\Program Files\CodeProject\AI\runtimes
19:46:07:ObjectDetectionYOLOv8: modulesDirPath = C:\Program Files\CodeProject\AI\modules
19:46:07:ObjectDetectionYOLOv8: downloadDirPath = C:\Program Files\CodeProject\AI\downloads
19:46:07:ObjectDetectionYOLOv8: General CodeProject.AI setup
19:46:07:ObjectDetectionYOLOv8: Creating Directories...Done
19:46:07:ObjectDetectionYOLOv8: GPU support
19:46:08:ObjectDetectionYOLOv8: CUDA Present...Yes (CUDA 12.3, cuDNN 8.5)
19:46:08:ObjectDetectionYOLOv8: ROCm Present...No
19:46:08:ObjectDetectionYOLOv8: Reading ObjectDetectionYOLOv8 settingsUsed modulesettings.json to get value Object Detection (YOLOv8)
19:46:09:ObjectDetectionYOLOv8: .Used modulesettings.json to get value 1.3.0
19:46:09:ObjectDetectionYOLOv8: .Used modulesettings.windows.json to get value python3.9
19:46:09:ObjectDetectionYOLOv8: .Used modulesettings.json to get value Shared
19:46:10:ObjectDetectionYOLOv8: .Used modulesettings.json to get value detect_adapter.py
19:46:10:ObjectDetectionYOLOv8: .Used modulesettings.json to get value true
19:46:11:ObjectDetectionYOLOv8: .Used modulesettings.json to get value ["all"]
19:46:11:ObjectDetectionYOLOv8: .Done
19:46:11:ObjectDetectionYOLOv8: Installing module Object Detection (YOLOv8) 1.3.0
19:46:11:ObjectDetectionYOLOv8: Variable Dump
19:46:11:ObjectDetectionYOLOv8: moduleName = Object Detection (YOLOv8)
19:46:11:ObjectDetectionYOLOv8: moduleVersion = 1.3.0
19:46:11:ObjectDetectionYOLOv8: runtime = python3.9
19:46:11:ObjectDetectionYOLOv8: runtimeLocation = Shared
19:46:11:ObjectDetectionYOLOv8: installGPU = true
19:46:11:ObjectDetectionYOLOv8: pythonVersion = 3.9
19:46:11:ObjectDetectionYOLOv8: virtualEnvDirPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39\venv
19:46:11:ObjectDetectionYOLOv8: venvPythonCmdPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39\venv\Scripts\python.exe
19:46:11:ObjectDetectionYOLOv8: packagesDirPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39\venv\Lib\site-packages
19:46:11:ObjectDetectionYOLOv8: moduleStartFilePath = detect_adapter.py
19:46:11:ObjectDetectionYOLOv8: Installing Python 3.9
19:46:11:ObjectDetectionYOLOv8: Installing python39 in C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39
19:46:11:ObjectDetectionYOLOv8: Downloading python39.zip to C:\Program Files\CodeProject\AI\downloads\windows\\python39
19:46:11:ObjectDetectionYOLOv8: Downloading Python 3.9 interpreter...Checking 'C:\Program Files\CodeProject\AI\downloads\windows\\python39.zip'
19:46:14:ObjectDetectionYOLOv8: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
19:46:14:ObjectDetectionYOLOv8: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
19:46:14:ObjectDetectionYOLOv8: the file specified.
19:46:14:ObjectDetectionYOLOv8: At line:1 char:1
19:46:14:ObjectDetectionYOLOv8: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
19:46:14:ObjectDetectionYOLOv8: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19:46:14:ObjectDetectionYOLOv8: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
19:46:14:ObjectDetectionYOLOv8: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
19:46:14:ObjectDetectionYOLOv8: tsTransferCommand
19:46:15:Client request 'detect' in queue 'objectdetection_queue' (...85a083)
19:46:16:ObjectDetectionYOLOv8: Get-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
19:46:16:ObjectDetectionYOLOv8: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
19:46:16:ObjectDetectionYOLOv8: the file specified.
19:46:16:ObjectDetectionYOLOv8: At line:1 char:1
19:46:16:ObjectDetectionYOLOv8: + Get-BitsTransfer | Remove-BitsTransfer
19:46:16:ObjectDetectionYOLOv8: + ~~~~~~~~~~~~~~~~
19:46:16:ObjectDetectionYOLOv8: + CategoryInfo : NotSpecified: ( [Get-BitsTransfer], FileNotFoundException
19:46:16:ObjectDetectionYOLOv8: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.GetBi
19:46:16:ObjectDetectionYOLOv8: tsTransfer
19:46:18:ObjectDetectionYOLOv8: Start-BitsTransfer : Could not load file or assembly 'Microsoft.BackgroundIntelligentTransfer.Management.Interop,
19:46:18:ObjectDetectionYOLOv8: Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
19:46:18:ObjectDetectionYOLOv8: the file specified.
19:46:18:ObjectDetectionYOLOv8: At line:1 char:1
19:46:18:ObjectDetectionYOLOv8: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
19:46:18:ObjectDetectionYOLOv8: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19:46:18:ObjectDetectionYOLOv8: + CategoryInfo : NotSpecified: ( [Start-BitsTransfer], FileNotFoundException
19:46:18:ObjectDetectionYOLOv8: + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.BackgroundIntelligentTransfer.Management.NewBi
19:46:18:ObjectDetectionYOLOv8: tsTransferCommand
19:46:18:ObjectDetectionYOLOv8: BITS transfer failed. Trying Powershell....
19:46:20:ObjectDetectionYOLOv8: Invoke-WebRequest : The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, function, script file, or
19:46:20:ObjectDetectionYOLOv8: operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
19:46:20:ObjectDetectionYOLOv8: again.
19:46:20:ObjectDetectionYOLOv8: At line:1 char:1
19:46:20:ObjectDetectionYOLOv8: + Invoke-WebRequest 'https://codeproject-ai.s3.ca-central-1.amazonaws.c ...
19:46:20:ObjectDetectionYOLOv8: + ~~~~~~~~~~~~~~~~~
19:46:20:ObjectDetectionYOLOv8: + CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], CommandNotFoundException
19:46:20:ObjectDetectionYOLOv8: + FullyQualifiedErrorId : CommandNotFoundException
19:46:20:ObjectDetectionYOLOv8: Download failed. Sorry.
19:46:20:ObjectDetectionYOLOv8: Creating Virtual Environment (Shared)...Virtual Environment doesn't exist. Creating at C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39\venv
19:46:20:ObjectDetectionYOLOv8: '"C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39\python.exe"' is not recognized as an internal or external command,
19:46:20:ObjectDetectionYOLOv8: operable program or batch file.
19:46:20:ObjectDetectionYOLOv8: Done
19:46:20:ObjectDetectionYOLOv8: The system cannot find the path specified.
19:46:20:ObjectDetectionYOLOv8: Confirming we have Python 3.9 in our virtual environment...
19:46:20:Module ObjectDetectionYOLOv8 installed successfully.
19:46:20:Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39\venv\Scripts\python
19:46:20:
19:46:20:Attempting to start ObjectDetectionYOLOv8 with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv8\detect_adapter.py"
19:46:20:Starting C:\Program Files...ws\python39\venv\Scripts\python "C:\Program Files...ctionYOLOv8\detect_adapter.py"
19:46:20:
19:46:20:Module 'Object Detection (YOLOv8)' 1.3.0 (ID: ObjectDetectionYOLOv8)
19:46:20:Valid: True
19:46:20:Module Path: <root>\modules\ObjectDetectionYOLOv8
19:46:20:AutoStart: True
19:46:20:Queue: objectdetection_queue
19:46:20:Runtime: python3.9
19:46:20:Runtime Loc: Shared
19:46:20:FilePath: detect_adapter.py
19:46:20:Pre installed: False
19:46:20:Start pause: 1 sec
19:46:20:LogVerbosity:
19:46:20:Platforms: all
19:46:20:GPU Libraries: installed if available
19:46:20:GPU Enabled: enabled
19:46:20:Parallelism: 0
19:46:20:Accelerator:
19:46:20:Half Precis.: enable
19:46:20:Environment Variables
19:46:20:APPDIR = <root>\modules\ObjectDetectionYOLOv8
19:46:20:CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionYOLOv8\custom-models
19:46:20:MODELS_DIR = <root>\modules\ObjectDetectionYOLOv8\assets
19:46:20:MODEL_SIZE = Medium
19:46:20:USE_CUDA = True
19:46:20:YOLOv5_AUTOINSTALL = false
19:46:20:YOLOv5_VERBOSE = false
19:46:20:
19:46:20:Error trying to start Object Detection (YOLOv8) (detect_adapter.py)
19:46:20:Error is: An error occurred trying to start process 'C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39\venv\Scripts\python' with working directory 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv8'. The system cannot find the file specified.
19:46:20: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
19:46:20:Please check the CodeProject.AI installation completed successfully
19:46:20:Module ObjectDetectionYOLOv8 started successfully.
19:46:20:Installer exited with code 255
|
|
|
|
|
Upgraded this morning. No modules installed after upgrade. When I try to install modules, I get a "Call Failed" error. I don't know if it makes any difference, but you can see in the log it refers to directories that are not present.
|
|
|
|
|
What Operating system? Seems like a permissions issue
cheers
Chris Maunder
|
|
|
|
|
I followed a best practice guide for blue iris (the hookup). One of the recommendation was to use the custom model ipcam-combined for each camera. This setting was preventing CodeProject.AI automated installer from adding the Object Detection YOLOv5.NET and Object Detection YOLOv5 6.2 modules. After removing the custom model entries, the installer almost immediately began installing appropriately.
Details:
I was running 2.0.8 with that custom model ipcam-combined fine but every time I tried to upgrade it would not work. Multiple different versions, uninstalls, reinstalls, clean installs etc. BI AI would not automatically install the appropriate modules.
Hope this helps someone.
|
|
|
|
|
I upgraded from 2.4.8 to 2.5.1. After the upgrade I can no longer start any/all of the modules. I also noticed that Python is no longer running.
I've tried restarting the computer and re-installing CodeProject 2.5.1, neither one helped.
Quote: Error in Install ObjectDetectionYOLOv5-6.2: Call failed.
Quote: Error in Install FaceProcessing: Call failed.
System Info:
Quote:
☀️
Server version: 2.5.1
System: Windows
Operating System: Windows (Microsoft Windows 10.0.19045)
CPUs: Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (Intel)
1 CPU x 8 cores. 16 logical processors (x64)
GPU (Primary): NVIDIA GeForce GTX 1050 Ti (4 GiB) (NVIDIA)
Driver: 536.23, CUDA: 12.2 (up to: 12.2), Compute: 6.1, cuDNN:
System RAM: 32 GiB
Platform: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.10
Default Python:
Video adapter info:
NVIDIA GeForce GTX 1050 Ti:
Driver Version 31.0.15.3623
Video Processor NVIDIA GeForce GTX 1050 Ti
System GPU info:
GPU 3D Usage 6%
GPU RAM Usage 1.1 GiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
Server logs:
Quote:
11:38:26:System: Windows
11:38:26:Operating System: Windows (Microsoft Windows 10.0.19045)
11:38:26:CPUs: Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (Intel)
11:38:26: 1 CPU x 8 cores. 16 logical processors (x64)
11:38:26:GPU (Primary): NVIDIA GeForce GTX 1050 Ti (4 GiB) (NVIDIA)
11:38:26: Driver: 536.23, CUDA: 12.2 (up to: 12.2), Compute: 6.1, cuDNN:
11:38:26:System RAM: 32 GiB
11:38:26:Platform: Windows
11:38:26:BuildConfig: Release
11:38:26:Execution Env: Native
11:38:26:Runtime Env: Production
11:38:26:.NET framework: .NET 7.0.10
11:38:26:Default Python:
11:38:26:App DataDir: C:\ProgramData\CodeProject\AI
11:38:26:Video adapter info:
11:38:26: NVIDIA GeForce GTX 1050 Ti:
11:38:26: Driver Version 31.0.15.3623
11:38:26: Video Processor NVIDIA GeForce GTX 1050 Ti
11:38:26:STARTING CODEPROJECT.AI SERVER
11:38:26:RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
11:38:26:PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
11:38:26:MODULES_PATH = C:\Program Files\CodeProject\AI\modules
11:38:26:PYTHON_PATH = \bin\windows\%PYTHON_NAME%\venv\Scripts\python
11:38:26:Data Dir = C:\ProgramData\CodeProject\AI
11:38:26:Server version: 2.5.1
11:38:26:ModuleRunner Start
11:38:27:Starting Background AI Modules
11:38:32:Server: This is the latest version
11:38:32:Current Version is 2.5.1
11:39:04:Call failed
11:56:37:Call failed
12:32:43:Call failed
12:32:49:Call failed
12:32:56:Call failed
12:32:59:Call failed
12:33:08:Call failed
12:33:10:Call failed
12:33:11:Call failed
12:33:13:Call failed
12:33:14:Call failed
12:33:16:Call failed
12:33:17:Call failed
13:20:22:Call failed
Logging level
|
|
|
|
|
Can you please force a non-cache update of the dashboard (eg. Ctrl+F5 in Windows on Chrome) and try again, and if there's an error, please post the error text.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I'm using the latest Firefox browser. When I performed the Ctrl-F5 and then tried to start the module it still failed but with a different error.
14:14:06:Preparing to install module 'ObjectDetectionYOLOv5-6.2'
14:14:06:Downloading module 'ObjectDetectionYOLOv5-6.2'
14:14:06:Unable to download module 'ObjectDetectionYOLOv5-6.2' from https://www.codeproject.com/KB/articles/5348853/ObjectDetectionYOLOv5-6.2-1.9.0.zip. Error: The SSL connection could not be established, see inner exception.
14:14:06:Unable to download module 'ObjectDetectionYOLOv5-6.2' from https://www.codeproject.com/KB/articles/5348853/ObjectDetectionYOLOv5-6.2-1.9.0.zip
I noticed a new tab called "Mesh", so I opened the tab and clicked on "Start". Then tried starting the module again. This time it WORKED.
Thanks for the help !!!
Current Server mesh status
GAME
Hostname: GAME
System: Windows (x64) NVIDIA GeForce GTX 1050 Ti
Platform: Windows
Active: true
Forwarding Requests: true
Accepting Requests: true
Visible Servers:
Routes Available: (4 processed)
vision/custom 0ms, 0 processed
vision/custom/list 0ms, 0 processed
vision/detection 150.5ms, 4 processed
Remote Servers in mesh: 0
Server logs
14:17:39:Starting mesh broadcasting
14:17:39:Starting mesh broadcast monitoring
14:17:39:Starting known mesh server pinging
14:18:22:Preparing to install module 'ObjectDetectionYOLOv5-6.2'
14:18:22:Downloading module 'ObjectDetectionYOLOv5-6.2'
14:18:22:Installing module 'ObjectDetectionYOLOv5-6.2'
14:18:23:ObjectDetectionYOLOv5-6.2: Installing CodeProject.AI Analysis Module
14:18:23:ObjectDetectionYOLOv5-6.2: ======================================================================
14:18:23:ObjectDetectionYOLOv5-6.2: CodeProject.AI Installer
14:18:23:ObjectDetectionYOLOv5-6.2: ======================================================================
14:18:23:ObjectDetectionYOLOv5-6.2: 798.4Gb of 952Gb available on
14:18:23:ObjectDetectionYOLOv5-6.2: General CodeProject.AI setup
14:18:23:ObjectDetectionYOLOv5-6.2: Creating Directories...Done
14:18:23:ObjectDetectionYOLOv5-6.2: GPU support
14:18:24:ObjectDetectionYOLOv5-6.2: CUDA Present...Yes (CUDA 12.2, No cuDNN found)
14:18:24:ObjectDetectionYOLOv5-6.2: ROCm Present...No
14:18:27:ObjectDetectionYOLOv5-6.2: Reading ObjectDetectionYOLOv5-6.2 settings.......Done
14:18:27:ObjectDetectionYOLOv5-6.2: Installing module Object Detection (YOLOv5 6.2) 1.9.0
14:18:27:ObjectDetectionYOLOv5-6.2: Installing Python 3.7
14:18:27:ObjectDetectionYOLOv5-6.2: Python 3.7 is already installed
14:18:27:ObjectDetectionYOLOv5-6.2: Creating Virtual Environment (Shared)...Virtual Environment already present
14:18:27:ObjectDetectionYOLOv5-6.2: Confirming we have Python 3.7 in our virtual environment...present
14:18:46:ObjectDetectionYOLOv5-6.2: Downloading Standard YOLO models...Expanding...Done.
14:18:46:ObjectDetectionYOLOv5-6.2: Copying contents of models-yolo5-pt.zip to assets...done
14:18:52:Response timeout. Try increasing the timeout value
14:19:08:ObjectDetectionYOLOv5-6.2: Downloading Custom YOLO models...Expanding...Done.
14:19:08:ObjectDetectionYOLOv5-6.2: Copying contents of custom-models-yolo5-pt.zip to custom-models...done
14:19:08:ObjectDetectionYOLOv5-6.2: Installing Python packages for Object Detection (YOLOv5 6.2)
14:19:08:ObjectDetectionYOLOv5-6.2: [0;Installing GPU-enabled libraries: If available
14:19:10:ObjectDetectionYOLOv5-6.2: Ensuring Python package manager (pip) is installed...Done
14:19:12:ObjectDetectionYOLOv5-6.2: Ensuring Python package manager (pip) is up to date...Done
14:19:12:ObjectDetectionYOLOv5-6.2: Python packages specified by requirements.windows.cuda.txt
14:19:14:ObjectDetectionYOLOv5-6.2: - Installing Pandas, a data analysis / data manipulation tool...Already installed
14:19:15:ObjectDetectionYOLOv5-6.2: - Installing CoreMLTools, for working with .mlmodel format models...Already installed
14:19:16:ObjectDetectionYOLOv5-6.2: - Installing OpenCV, the Open source Computer Vision library...Already installed
14:19:18:ObjectDetectionYOLOv5-6.2: - Installing Pillow, a Python Image Library...Already installed
14:19:19:ObjectDetectionYOLOv5-6.2: - Installing SciPy, a library for mathematics, science, and engineering...Already installed
14:19:20:ObjectDetectionYOLOv5-6.2: - Installing PyYAML, a library for reading configuration files...Already installed
14:19:22:ObjectDetectionYOLOv5-6.2: - Installing PyTorch, an open source machine learning framework...Already installed
14:19:23:ObjectDetectionYOLOv5-6.2: - Installing TorchVision, for working with computer vision models...Already installed
14:19:24:ObjectDetectionYOLOv5-6.2: - Installing Ultralytics YoloV5 package for object detection in images...Already installed
14:19:26:ObjectDetectionYOLOv5-6.2: - Installing Seaborn, a data visualization library based on matplotlib...Already installed
14:19:26:ObjectDetectionYOLOv5-6.2: Installing Python packages for the CodeProject.AI Server SDK
14:19:27:ObjectDetectionYOLOv5-6.2: Ensuring Python package manager (pip) is installed...Done
14:19:29:ObjectDetectionYOLOv5-6.2: Ensuring Python package manager (pip) is up to date...Done
14:19:29:ObjectDetectionYOLOv5-6.2: Python packages specified by requirements.txt
14:19:31:ObjectDetectionYOLOv5-6.2: - Installing Pillow, a Python Image Library...Already installed
14:19:32:ObjectDetectionYOLOv5-6.2: - Installing Charset normalizer...Already installed
14:19:33:ObjectDetectionYOLOv5-6.2: - Installing aiohttp, the Async IO HTTP library...Already installed
14:19:35:ObjectDetectionYOLOv5-6.2: - Installing aiofiles, the Async IO Files library...Already installed
14:19:36:ObjectDetectionYOLOv5-6.2: - Installing py-cpuinfo to allow us to query CPU info...Already installed
14:19:37:ObjectDetectionYOLOv5-6.2: - Installing Requests, the HTTP library...Already installed
14:19:43:ObjectDetectionYOLOv5-6.2: YOLOv5.1m summary: 391 layers, 21805053 parameters, 0 gradients
14:19:43:ObjectDetectionYOLOv5-6.2: Adding AutoShape...
14:19:43:ObjectDetectionYOLOv5-6.2: Self test: Self-test passed
14:19:43:ObjectDetectionYOLOv5-6.2: Module setup time 00:01:19.50
14:19:43:ObjectDetectionYOLOv5-6.2: Setup complete
14:19:43:ObjectDetectionYOLOv5-6.2: Total setup time 00:01:20.59
14:19:43:Module ObjectDetectionYOLOv5-6.2 installed successfully.
14:19:43:
14:19:43:Module 'Object Detection (YOLOv5 6.2)' 1.9.0 (ID: ObjectDetectionYOLOv5-6.2)
14:19:43:Valid: True
14:19:43:Module Path: <root>\modules\ObjectDetectionYOLOv5-6.2
14:19:43:AutoStart: True
14:19:43:Queue: objectdetection_queue
14:19:43:Runtime: python3.7
14:19:43:Runtime Loc: Shared
14:19:43:FilePath: detect_adapter.py
14:19:43:Pre installed: False
14:19:43:Start pause: 1 sec
14:19:43:LogVerbosity:
14:19:43:Platforms: all,!raspberrypi,!jetson
14:19:43:GPU Libraries: installed if available
14:19:43:GPU Enabled: enabled
14:19:43:Parallelism: 0
14:19:43:Accelerator:
14:19:43:Half Precis.: enable
14:19:43:Environment Variables
14:19:43:APPDIR = <root>\modules\ObjectDetectionYOLOv5-6.2
14:19:43:CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\custom-models
14:19:43:MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\assets
14:19:43:MODEL_SIZE = Medium
14:19:43:USE_CUDA = True
14:19:43:YOLOv5_AUTOINSTALL = false
14:19:43:YOLOv5_VERBOSE = false
14:19:43:
14:19:43:Started Object Detection (YOLOv5 6.2) module
14:19:43:Installer exited with code 0
14:19:44:Module ObjectDetectionYOLOv5-6.2 started successfully.
14:19:47:detect_adapter.py: Running init for Object Detection (YOLOv5 6.2)
14:23:15:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...11e974) took 697ms
14:25:15:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...0d55e0) took 247ms
14:27:14:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...2f6864) took 258ms
14:31:13:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...f7629d) took 273ms
14:34:30:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...5619e0) took 253ms
|
|
|
|
|
that is truly bizarre. Mesh has nothing to do with the installer. However: whatever works! I'm glad you're back up and running.
(My guess: network caching was making your machine think you had an unreachable target, but starting mesh kicked off a cache refresh or something and it took another look and was good)
cheers
Chris Maunder
|
|
|
|
|
I install the new version (2.5.1).
I see this message, if I push the test button in Agent - Settings - AI Servers - Configure menu:
Result: OK
But in Object Detection (Coral) menu Test Result is this: AI test failed: ObjectDetectionCoral test not provisioned
But I see this in the Codeproject.AI Dashboard:
19:27:24:Object Detection (Coral): Retrieved objectdetection_queue command 'detect'
19:27:25:Object Detection (Coral): Rec'd request for Object Detection (Coral) command 'detect' (...c959a2) took 139ms
Agent v5.2.4.0
Before, I use the older Codeproject.AI 2.3.2, it's worked.
Please help me! Thanks!
|
|
|
|
|