|
Yes, here you go. thanks
2024-04-28 13:50:22: Settings file: C:\Program Files\CodeProject\AI\Server\installmodules.json exists: False
2024-04-28 13:50:22: ** System: Windows
2024-04-28 13:50:22: ** Operating System: Windows (Microsoft Windows 10.0.19045)
2024-04-28 13:50:22: ** CPUs: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (Intel)
2024-04-28 13:50:22: ** 1 CPU x 4 cores. 8 logical processors (x64)
2024-04-28 13:50:22: ** GPU (Primary): NVIDIA T600 (4 GiB) (NVIDIA)
2024-04-28 13:50:22: ** Driver: 552.22, CUDA: 12.4 (up to: 12.4), Compute: 7.5, cuDNN:
2024-04-28 13:50:22: ** System RAM: 16 GiB
2024-04-28 13:50:22: ** Platform: Windows
2024-04-28 13:50:22: ** BuildConfig: Release
2024-04-28 13:50:22: ** Execution Env: Native
2024-04-28 13:50:22: ** Runtime Env: Production
2024-04-28 13:50:22: ** Runtimes installed:
2024-04-28 13:50:22: ** .NET runtime: 7.0.18
2024-04-28 13:50:22: ** .NET SDK: Not found
2024-04-28 13:50:22: ** Default Python: Not found
2024-04-28 13:50:22: ** Go: Not found
2024-04-28 13:50:22: ** NodeJS: Not found
2024-04-28 13:50:22: ** Rust: Not found
2024-04-28 13:50:22: ** App DataDir: C:\ProgramData\CodeProject\AI
2024-04-28 13:50:22: Video adapter info:
2024-04-28 13:50:22: NVIDIA T600:
2024-04-28 13:50:22: Driver Version 31.0.15.5222
2024-04-28 13:50:22: Video Processor NVIDIA T600
2024-04-28 13:50:22: Microsoft Remote Display Adapter:
2024-04-28 13:50:22: Driver Version 10.0.19041.3636
2024-04-28 13:50:22: Video Processor
2024-04-28 13:50:22: *** STARTING CODEPROJECT.AI SERVER
2024-04-28 13:50:22: RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
2024-04-28 13:50:22: PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
2024-04-28 13:50:22: DEMO_MODULES_PATH = C:\Program Files\CodeProject\AI\demos\modules
2024-04-28 13:50:22: MODULES_PATH = C:\Program Files\CodeProject\AI\modules
2024-04-28 13:50:22: PYTHON_PATH = \bin\windows\%PYTHON_NAME%\venv\Scripts\python
2024-04-28 13:50:22: Data Dir = C:\ProgramData\CodeProject\AI
2024-04-28 13:50:23: ** Server version: 2.6.2
2024-04-28 13:50:23: ModuleRunner Start
2024-04-28 13:50:23: Starting Background AI Modules
2024-04-28 13:50:28: Current Version is 2.6.2
2024-04-28 13:50:28: Server: This is the latest version
2024-04-28 13:50:38: Preparing to install module 'ObjectDetectionYOLOv5-6.2'
2024-04-28 13:50:38: Downloading module 'ObjectDetectionYOLOv5-6.2'
2024-04-28 13:50:38: Installing module 'ObjectDetectionYOLOv5-6.2'
2024-04-28 13:50:38: Installer script at 'C:\Program Files\CodeProject\AI\setup.bat'
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: 'chcp' is not recognized as an internal or external command,
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;33m[49m Installing CodeProject.AI Analysis Module [0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;32m[49m======================================================================[0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;32m[49m CodeProject.AI Installer [0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;32m[49m======================================================================[0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: 'wmic' is not recognized as an internal or external command,
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;37m[49m-1.-1Gb of -1Gb available on [0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;37m[49mos, arch = windows x86_64[0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;37m[49msystemName, platform = Windows, windows[0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;37m[49medgeDevice = [0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;37m[49msetupMode = SetupModule[0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;37m[49mexecutionEnvironment = Production[0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;37m[49mrootDirPath = C:\Program Files\CodeProject\AI[0m
2024-04-28 13:50:38: ObjectDetectionYOLOv5-6.2: [0;37m[49mappRootDirPath = C:\Program Files\CodeProject\AI\[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;37m[49msetupScriptDirPath = C:\Program Files\CodeProject\AI\[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;37m[49msdkScriptsDirPath = C:\Program Files\CodeProject\AI\SDK\Scripts[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;37m[49mruntimesDirPath = C:\Program Files\CodeProject\AI\runtimes[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;37m[49mmodulesDirPath = C:\Program Files\CodeProject\AI\modules[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;37m[49mdownloadDirPath = C:\Program Files\CodeProject\AI\downloads[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;97m[104mGeneral CodeProject.AI setup [0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;39m[49mCreating Directories...[0m[0;92m[49mdone[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;97m[42mGPU support [0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;39m[49mCUDA Present...[0m[0;33m[49mNo[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;39m[49mROCm Present...[0m[0;33m[49mNo[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;37m[49mReading ObjectDetectionYOLOv5-6.2 settings[0m[0;95m[49mUsed modulesettings.json to get value Object Detection (YOLOv5 6.2)[0m
2024-04-28 13:50:39: ObjectDetectionYOLOv5-6.2: [0;37m[49m.[0m[0;95m[49mUsed modulesettings.json to get value 1.9.1[0m
2024-04-28 13:50:40: ObjectDetectionYOLOv5-6.2: [0;37m[49m.[0m[0;95m[49mUsed modulesettings.windows.json to get value python3.7[0m
2024-04-28 13:50:40: ObjectDetectionYOLOv5-6.2: [0;37m[49m.[0m[0;95m[49mUsed modulesettings.json to get value Shared[0m
2024-04-28 13:50:40: ObjectDetectionYOLOv5-6.2: [0;37m[49m.[0m[0;95m[49mUsed modulesettings.json to get value detect_adapter.py[0m
2024-04-28 13:50:40: ObjectDetectionYOLOv5-6.2: [0;37m[49m.[0m[0;95m[49mUsed modulesettings.json to get value true[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;37m[49m.[0m[0;95m[49mUsed modulesettings.json to get value ["all","raspberrypi","jetson"][0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;37m[49m.[0m[0;32m[49mdone[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;97m[104mInstalling module Object Detection (YOLOv5 6.2) 1.9.1 [0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;97m[104mVariable Dump [0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mmoduleName = Object Detection (YOLOv5 6.2)[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mmoduleVersion = 1.9.1[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mruntime = python3.7[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mruntimeLocation = Shared[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49minstallGPU = true[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mpythonVersion = 3.7[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mvirtualEnvDirPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mvenvPythonCmdPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python.exe[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mpackagesDirPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mmoduleStartFilePath = detect_adapter.py[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;39m[49mInstalling Python 3.7[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mInstalling python37 in C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;95m[49mDownloading python37.zip to C:\Program Files\CodeProject\AI\downloads\windows\\python37[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;30m[49mDownloading Python 3.7 interpreter...[0m[0;95m[49mChecking 'C:\Program Files\CodeProject\AI\downloads\windows\\python37.zip'[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: 'powershell' is not recognized as an internal or external command,
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: 'powershell' is not recognized as an internal or external command,
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: 'powershell' is not recognized as an internal or external command,
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;33m[49mBITS transfer failed. Trying Powershell....[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: 'powershell' is not recognized as an internal or external command,
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;91m[49mDownload failed. Sorry.[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: 'robocopy' is not recognized as an internal or external command,
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;39m[49mCreating Virtual Environment (Shared)...[0m[0;39m[49mVirtual Environment doesn't exist. Creating at C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: '"C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\python.exe"' is not recognized as an internal or external command,
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;32m[49mdone[0m
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: The system cannot find the path specified.
2024-04-28 13:50:41: ObjectDetectionYOLOv5-6.2: [0;39m[49mConfirming we have Python 3.7 in our virtual environment...[0m
2024-04-28 13:50:41: Module ObjectDetectionYOLOv5-6.2 installed successfully.
2024-04-28 13:50:41: Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
2024-04-28 13:50:41:
2024-04-28 13:50:41: 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"
2024-04-28 13:50:41: Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...nYOLOv5-6.2\detect_adapter.py"
2024-04-28 13:50:41:
2024-04-28 13:50:41: ** Module 'Object Detection (YOLOv5 6.2)' 1.9.1 (ID: ObjectDetectionYOLOv5-6.2)
2024-04-28 13:50:41: ** Valid: True
2024-04-28 13:50:41: ** Module Path: <root>\modules\ObjectDetectionYOLOv5-6.2
2024-04-28 13:50:41: ** AutoStart: True
2024-04-28 13:50:41: ** Queue: objectdetection_queue
2024-04-28 13:50:41: ** Runtime: python3.7
2024-04-28 13:50:41: ** Runtime Loc: Shared
2024-04-28 13:50:41: ** FilePath: detect_adapter.py
2024-04-28 13:50:41: ** Start pause: 1 sec
2024-04-28 13:50:41: ** Parallelism: 0
2024-04-28 13:50:41: ** LogVerbosity:
2024-04-28 13:50:41: ** Platforms: all,!raspberrypi,!jetson
2024-04-28 13:50:41: ** GPU Libraries: installed if available
2024-04-28 13:50:41: ** GPU Enabled: enabled
2024-04-28 13:50:41: ** Accelerator:
2024-04-28 13:50:41: ** Half Precis.: enable
2024-04-28 13:50:41: ** Environment Variables
2024-04-28 13:50:41: ** APPDIR = <root>\modules\ObjectDetectionYOLOv5-6.2
2024-04-28 13:50:41: ** CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\custom-models
2024-04-28 13:50:41: ** MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\assets
2024-04-28 13:50:41: ** MODEL_SIZE = Medium
2024-04-28 13:50:41: ** USE_CUDA = True
2024-04-28 13:50:41: ** YOLOv5_AUTOINSTALL = false
2024-04-28 13:50:41: ** YOLOv5_VERBOSE = false
2024-04-28 13:50:41:
2024-04-28 13:50:41 [System.ComponentModel.Win32Exception (2): 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.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)]: Error trying to start Object Detection (YOLOv5 6.2) (detect_adapter.py)
2024-04-28 13:50:41: 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.
2024-04-28 13:50:41: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
2024-04-28 13:50:41: *** Please check the CodeProject.AI installation completed successfully
2024-04-28 13:50:41: Module ObjectDetectionYOLOv5-6.2 started successfully.
2024-04-28 13:50:41: Installer exited with code 255
|
|
|
|
|
|
I installed PowerShell and am still not able to start the modules after they are installed. See below.
Also see,
16:49:13:Error trying to start Object Detection (YOLOv5 6.2) (detect_adapter.py)
16:49:13: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.
16:49:13:Module ObjectDetectionYOLOv5-6.2 started successfully.
16:49:13:Installer exited with code 255
16:49:13: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
16:49:13:Please check the CodeProject.AI installation completed successfully
2024-04-29 16:49:10: Preparing to install module 'ObjectDetectionYOLOv5-6.2'
2024-04-29 16:49:10: Downloading module 'ObjectDetectionYOLOv5-6.2'
2024-04-29 16:49:10: Installing module 'ObjectDetectionYOLOv5-6.2'
2024-04-29 16:49:10: Installer script at 'C:\Program Files\CodeProject\AI\setup.bat'
2024-04-29 16:49:10: ObjectDetectionYOLOv5-6.2: 'chcp' is not recognized as an internal or external command,
2024-04-29 16:49:10: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-29 16:49:10: ObjectDetectionYOLOv5-6.2: [0;33m[49m Installing CodeProject.AI Analysis Module [0m
2024-04-29 16:49:10: ObjectDetectionYOLOv5-6.2: [0;32m[49m======================================================================[0m
2024-04-29 16:49:11: ObjectDetectionYOLOv5-6.2: [0;32m[49m CodeProject.AI Installer [0m
2024-04-29 16:49:11: ObjectDetectionYOLOv5-6.2: [0;32m[49m======================================================================[0m
2024-04-29 16:49:11: ObjectDetectionYOLOv5-6.2: [0;37m[49m118.8Gb of 237Gb available on [0m
2024-04-29 16:49:11: ObjectDetectionYOLOv5-6.2: [0;97m[104mGeneral CodeProject.AI setup [0m
2024-04-29 16:49:11: ObjectDetectionYOLOv5-6.2: [0;39m[49mCreating Directories...[0m[0;92m[49mdone[0m
2024-04-29 16:49:11: ObjectDetectionYOLOv5-6.2: [0;97m[42mGPU support [0m
2024-04-29 16:49:11: ObjectDetectionYOLOv5-6.2: [0;39m[49mCUDA Present...[0m[0;33m[49mNo[0m
2024-04-29 16:49:11: ObjectDetectionYOLOv5-6.2: [0;39m[49mROCm Present...[0m[0;33m[49mNo[0m
2024-04-29 16:49:13: ObjectDetectionYOLOv5-6.2: [0;37m[49mReading ObjectDetectionYOLOv5-6.2 settings[0m[0;37m[49m.[0m[0;37m[49m.[0m[0;37m[49m.[0m[0;37m[49m.[0m[0;37m[49m.[0m[0;37m[49m.[0m[0;37m[49m.[0m[0;32m[49mdone[0m
2024-04-29 16:49:13: ObjectDetectionYOLOv5-6.2: [0;97m[104mInstalling module Object Detection (YOLOv5 6.2) 1.9.1 [0m
2024-04-29 16:49:13: ObjectDetectionYOLOv5-6.2: [0;39m[49mInstalling Python 3.7[0m
2024-04-29 16:49:13: ObjectDetectionYOLOv5-6.2: '"C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\python.exe"' is not recognized as an internal or external command,
2024-04-29 16:49:13: ObjectDetectionYOLOv5-6.2: operable program or batch file.
2024-04-29 16:49:13: ObjectDetectionYOLOv5-6.2: [0;39m[49mCreating Virtual Environment (Shared)...[0m[0;32m[49mdone[0m
2024-04-29 16:49:13: ObjectDetectionYOLOv5-6.2: The system cannot find the path specified.
2024-04-29 16:49:13: ObjectDetectionYOLOv5-6.2: [0;39m[49mConfirming we have Python 3.7 in our virtual environment...[0m
2024-04-29 16:49:13: Module ObjectDetectionYOLOv5-6.2 installed successfully.
2024-04-29 16:49:13: Running module using: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
2024-04-29 16:49:13:
2024-04-29 16:49:13: 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"
2024-04-29 16:49:13: Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...nYOLOv5-6.2\detect_adapter.py"
2024-04-29 16:49:13:
2024-04-29 16:49:13: ** Module 'Object Detection (YOLOv5 6.2)' 1.9.1 (ID: ObjectDetectionYOLOv5-6.2)
2024-04-29 16:49:13: ** Valid: True
2024-04-29 16:49:13: ** Module Path: <root>\modules\ObjectDetectionYOLOv5-6.2
2024-04-29 16:49:13: ** AutoStart: True
2024-04-29 16:49:13: ** Queue: objectdetection_queue
2024-04-29 16:49:13: ** Runtime: python3.7
2024-04-29 16:49:13: ** Runtime Loc: Shared
2024-04-29 16:49:13: ** FilePath: detect_adapter.py
2024-04-29 16:49:13: ** Start pause: 1 sec
2024-04-29 16:49:13: ** Parallelism: 0
2024-04-29 16:49:13: ** LogVerbosity:
2024-04-29 16:49:13: ** Platforms: all,!raspberrypi,!jetson
2024-04-29 16:49:13: ** GPU Libraries: installed if available
2024-04-29 16:49:13: ** GPU Enabled: enabled
2024-04-29 16:49:13: ** Accelerator:
2024-04-29 16:49:13: ** Half Precis.: enable
2024-04-29 16:49:13: ** Environment Variables
2024-04-29 16:49:13: ** APPDIR = <root>\modules\ObjectDetectionYOLOv5-6.2
2024-04-29 16:49:13: ** CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\custom-models
2024-04-29 16:49:13: ** MODELS_DIR = <root>\modules\ObjectDetectionYOLOv5-6.2\assets
2024-04-29 16:49:13: ** MODEL_SIZE = Medium
2024-04-29 16:49:13: ** USE_CUDA = True
2024-04-29 16:49:13: ** YOLOv5_AUTOINSTALL = false
2024-04-29 16:49:13: ** YOLOv5_VERBOSE = false
2024-04-29 16:49:13:
2024-04-29 16:49:13 [System.ComponentModel.Win32Exception (2): 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.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)]: Error trying to start Object Detection (YOLOv5 6.2) (detect_adapter.py)
2024-04-29 16:49:13: 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.
2024-04-29 16:49:13: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
2024-04-29 16:49:13: *** Please check the CodeProject.AI installation completed successfully
2024-04-29 16:49:13: Module ObjectDetectionYOLOv5-6.2 started successfully.
2024-04-29 16:49:13: Installer exited with code 255
modified 2 days ago.
|
|
|
|
|
What's in "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\"?
In fact, do you have C:\Program Files\CodeProject\AI\runtimes? If so, do you have bin/windows under that?
I'm guessing there are permission errors here. Your system seems odd in that you're missing a number of "standard" commands. Is it Windows Home, Pro, Server? Have you tried running the installer with admin rights?
cheers
Chris Maunder
|
|
|
|
|
Thanks for your help. I do have C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\ but the python37 folder is empty. The computer is running Windows 10 Pro and I always run the installer with admin rights.
modified 2 days ago.
|
|
|
|
|
My set up was CPAI on unraid as a container.
Windows on a sff dedicated pc (lenovo thinkcenter i5-3470T)
GPU GTX970 on unraid passed through to the container.
I had a few coral devices, A+E, M2 wifi and usb. Used on frigate
Tried the tpu on cpai last year and it failed miserably.
I have now a set up utilising the tpu with cpai and blueiris very well.
1- windows 10 X-Lite on the i5-3470T. 8GB ram. sata SSD
2- CPAI container on unraid (this can be CPAI on the windows pc also) - my sff has an A+E slot so may experiment.
3- Coral tpu m2 wifi on the asrock B550m board that hosts unraid. Used for my NAS.
4- AITool on the windows pc
5- BI Alert Tab - Confirm Alert with AI UNticked.
6- BI Record Tab - save jpegs to local folder on windows pc
7- AIool server pointing to unraid CPAI
8- AItool folder from the BI path for record jpegs
CPAI_CORAL_MODEL_NAME = YOLOv8
Size: Medium
Inference speeds: 8.6ms
round trips: 15-22ms
All sent to telegram and MQTT for nodered.
Removed my old GPU to reduce power consumption.
So far so good.
AITool was necessary here to finely tune each object (% image size etc)
Hope this helps someone struggling and wants to use a tpu.
12 cameras - 6 recording 24/7
CPU utilizes just 10-12%!
modified 23-Apr-24 12:49pm.
|
|
|
|
|
For what it’s worth, that sounds like it’s running YOLOv8 medium a bit too fast, so there may be a different model loaded up than expected. But if the results are good, no one’s gonna complain! Also, you should be able to plug in all of the TPUs and it’ll use them all simultaneously!
|
|
|
|
|
That's what I thought. It may well be using the MobileNet SSD Medium but the info says yolov8. Maybe a bit buggy still. Anyways it works and works well now.
I do have the USB tpu plugged in but I have that hosted for my frigate as a back up.
But its switched off.
May well play around with the multi-tpu. Thanks for the tip.
It is a bit unstable when you try to change settings, had to reinstall the module a couple of times.
|
|
|
|
|
Yeah. The downside of the USB one is that it may make the whole system less stable. Hard to say without trying it out, though. YOLOv8 medium works better on two than one, though, so I’d suggest giving it a try.
|
|
|
|
|
Nope it didn't play ball at all.
Added both devices to the container
/dev/apex_0
/dev/usb
Failed to work - even after reinstalling everything.
/dev/usb works on its own but it twice as slow but shows multi-tpu which is odd.
Removed that and readded /dev/apex_0 which as the fastest but would not work with the usb unfortunately.
Possibly if your board had slots for 2 pcie/wifi cards that might work but it did not like the usb and m2 adding to the container paths.
|
|
|
|
|
Huh. Weird. I see no reason why that wouldn’t work. I should just buy my own to test it. I currently have two M2 slots filled and three PCIe slots with dual TPU adapters.
|
|
|
|
|
Let me know how it goes if you test with multiple tpus.
May work if i try them on the dedicated windows pc directly rather than on unraid trying to pass them through to the container.
If I get time I'll try them on the windows (it has an A+E slot).
|
|
|
|
|
I have eight TPUs in my machine, just none of them USB. So I know it should work.
|
|
|
|
|
8??? omg. how does the multi-mode work then?
|
|
|
|
|
|
Just a thought I wonder if the mesh would work like this. tpu on 1 instance of cpai and another instance of cpai with the 2nd tpu.
|
|
|
|
|
The pipelining between model segments will be more efficient if they are in the same machine.
|
|
|
|
|
ah nice - did not know unraid had the option in settings of running a 2nd instance of a container!
|
|
|
|
|
Wasn't able to get a 2nd instance running with a different port 32169 for example. It span up but somehow was linked to 32168 each time - even after making sure all the host ports were 32169 udp/tcp and web gui. unique name etc. But had no success
|
|
|
|
|
Set up a 2nd instance on the windows pc with the coral usb.
And 2 servers added on AITool so they share the 2 servers. Seems to work well and share the load.
|
|
|
|
|
I still think you should have better performance with one instance of CPAI running two TPUs, but if that doesn’t work, then I’m glad you got this working!
|
|
|
|
|
Some interesting results testing the tiny, small, medium and large MobileNet SSD with the same picture.
The small model found far more objects that all the other models even though some were wrong!
So going with the small right now and see how it goes with the filters on the AITool. May pick up the smaller objects that the medium and large miss or filter them out
|
|
|
|
|
My question :
Is it possible to have this configuration and the system work correctly ?
Because my GPU is every time at 0% usage and I have test lot of driver, cuda and codeproject ai version and event my GPU is at 0% usage...
I don't know if it's possible to have more information in the docs or idkb because the project have good evolution but even update never work correcly with my instance....
I'm on docker linux system.
Thank you a lot for next answer
What I have tried:
Test a lot of driver, cuda and codeproject ai (since 1 year)
|
|
|
|
|
Have you been able to run any version of CodeProject.AI Server? Also, could you please share your System Info tab from your CodeProject.AI Server dashboard, if you're able to load it, and share any install logs you have for modules where you were trying to use GPU?
Historically, a lot of users have had trouble getting the GPU to work for the GTX 1650. Half-precision should definitely be disabled. I did see one user report that 2.5.6 worked for them on Windows.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|