【解決方法】モジュールのインストールと起動時に問題が発生します。


Blue Iris と組み合わせて使用​​するために、Windows 11 Pro に CodeProject AI をインストールしました。 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) ファイルはどこで見つけられますか?

コメント

タイトルとURLをコピーしました