我在安装和启动模块时遇到问题。

[ad_1]

我在 Windows 11 Pro 上安装了 CodeProject AI,以便与 Blue Iris 结合使用。 成功安装 Zip 文件中的 CodeProject AI exe 文件后。 我通过 Blue Iris 启动服务器并导航到仪表板。

当我尝试安装和启动模块时,我收到以下调试输出。 然而,服务器本身显示为在线。

19:37:40:Preparing to install module 'ObjectDetectionTFLite'
19:37:40:Downloading module 'ObjectDetectionTFLite'
19:37:40:Installing module 'ObjectDetectionTFLite'
19:37:40:ObjectDetectionTFLite:              Installing CodeProject.AI Analysis Module                
19:37:40:ObjectDetectionTFLite: ========================================================================
19:37:40:ObjectDetectionTFLite:                    CodeProject.AI Installer                             
19:37:40:ObjectDetectionTFLite: ========================================================================
19:37:40:ObjectDetectionTFLite: Checking GPU support                                                  
19:37:41:ObjectDetectionTFLite: CUDA Present...False
19:37:41:ObjectDetectionTFLite: Allowing GPU Support: Yes
19:37:41:ObjectDetectionTFLite: Allowing CUDA Support: No
19:37:41:ObjectDetectionTFLite: General CodeProject.AI setup                                          
19:37:41:ObjectDetectionTFLite: Creating Directories...Done
19:37:41:ObjectDetectionTFLite: Installing module ObjectDetectionTFLite                               
19:37:41:ObjectDetectionTFLite: *** You need to run C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\install_coral.bat to complete this process
19:37:41:ObjectDetectionTFLite: Installing python39 in C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39
19:37:41:ObjectDetectionTFLite: 'powershell' is not recognized as an internal or external command,
19:37:41:ObjectDetectionTFLite: operable program or batch file.
19:37:41:ObjectDetectionTFLite: Downloading Python 3.9 interpreter...An error occurred that could not be resolved.
19:37:41:ObjectDetectionTFLite: Module setup complete                                                 
19:37:41:Module ObjectDetectionTFLite installed successfully.
19:37:41:Module ObjectDetectionTFLite not configured to AutoStart.
19:37:41:Installer exited with code 1
19:37:41:Unknown response from server
19:38:03:
19:38:03:GetCommandByRuntime: Runtime=python39, Location=Local
19:38:03:Command: C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\bin\windows\python39\venv\scripts\Python
19:38:03:Starting C:\Program Files...ws\python39\venv\scripts\Python "C:\Program Files...ctdetection_tflite_adapter.py"
19:38:03:
19:38:03:Attempting to start ObjectDetectionTFLite with C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\bin\windows\python39\venv\scripts\Python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\objectdetection_tflite_adapter.py"
19:38:03:Module 'ObjectDetection (TF-Lite)' (ID: ObjectDetectionTFLite)
19:38:03:Module Path:   C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite
19:38:03:AutoStart:     True
19:38:03:Queue:         objectdetection_queue
19:38:03:Platforms:     windows,linux,linux-arm64,macos,macos-arm64
19:38:03:GPU:           Support enabled
19:38:03:Parallelism:   0
19:38:03:Accelerator:
19:38:03:Half Precis.:  enable
19:38:03:Runtime:       python39
19:38:03:Runtime Loc:   Local
19:38:03:FilePath:      objectdetection_tflite_adapter.py
19:38:03:Pre installed: False
19:38:03:Start pause:   1 sec
19:38:03:LogVerbosity:
19:38:03:Valid:         True
19:38:03:Environment Variables
19:38:03:MODELS_DIR = %CURRENT_MODULE_PATH%/assets
19:38:03:MODEL_SIZE = Medium
19:38:03:
19:38:03:Error trying to start ObjectDetection (TF-Lite) (objectdetection_tflite_adapter.py)
19:38:03:An error occurred trying to start process 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\bin\windows\python39\venv\scripts\Python' with working directory 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite'. The system cannot find the file specified.
19:38:03:   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at CodeProject.AI.API.Server.Frontend.ModuleProcessServices.StartProcess(ModuleConfig module)
19:38:03:Please check the CodeProject.AI installation completed successfully

19:33:53: Preparing to install module 'ObjectDetectionNet '
19:33:53:Downloading module 'ObjectDetectionNet'
19:33:53:Installing module 'ObjectDetectionNet'
19:33:53:ObjectDetectionNet: Installing CodeProject.AI Analysis Module
19:33:53:ObjectDetectionNet: ========================================================================
19:33:53:ObjectDetectionNet: CodeProject.AI Installer
19:33:53:ObjectDetectionNet: ========================================================================
19:33:53:ObjectDetectionNet: Checking GPU support
19:33:53:ObjectDetectionNet: CUDA Present ... False
19:33:53:ObjectDetectionNet: Allowi ng GPU Support: Yes
19:33:53:ObjectDetectionNet: Allowi ng CUDA Support: No
19:33:53:ObjectDetectionNet: General CodeProject.AI setup
19:33:53:ObjectDetectionNet: Creating Directories ... Done
19:33:53:ObjectDetectionNet: Installing module ObjectDetectionNet
19:33:53:ObjectDetectionNet: 'findstr' is not recognized as an internal or external command,
19:33:53:ObjectDetectionNet: operable program or batch file.
19:33:53:ObjectDetectionNet: ' powershell ' is not recognized as an internal or external command,
19:33:53:ObjectDetectionNet: operable program or batch file.
19:33:53:ObjectDetectionNet: Downloading ObjectDetecti onNet module ... An error occurred that could not be resolved.
19:33:53:ObjectDetectionNet: 'powershell' is not recognized as an internal or external command,
19:33:53:ObjectDetectionNet: operable program or batch file.
19:33:53:ObjectDetectionNet: Downloading YOLO ONNX models ... An error occurred that could not be resolved.
19:33:53:ObjectDetectionNet: Module setup complete
19:33:53:Module ObjectDetectionNet installed successfully.
19:33:53:Module ObjectDetectionNet not configured to Autostart.
19:33:53: Installer exi ted with code 1
19:33:53:Unknown response from server

我尝试过的:

我已经卸载并重新安装了 CodeProject,卸载并重新安装了所有模块,包括停止并重新启动了它们,并将 Powershell 和 Python 3.7 添加到了环境变量路径中。

解决方案1

在 CodeProject AI 专用论坛中提出您的问题, 这里[^]。

解决方案3

Please check the CodeProject.AI installation completed successfully
Logging level
Please check the CodeProject.AI installation completed successfully
Logging level

早上好,
我怎么知道通货膨胀还缺少什么? 我从主页上
CodeProject.AI 服务器:AI 的简单方法。[^]

提供了过时的版本供下载。 在哪里可以找到当前的 (.deb) 文件?

[ad_2]

コメント

标题和URL已复制