Click here to Skip to main content
15,887,442 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Trying to upgrade to 2.5.1, spent days trying and failing miserably . the older version I had worked like a charm.. ( why did you want to update I hear you say..) anyway , the server installed without problem , but none of the modules will start , I always get an error:

YOLO.NET

Quote:
19:10:33:Error trying to start Object Detection (YOLOv5 .NET) (bin\ObjectDetectionYOLOv5Net.exe)
19:10:33:Error is: An error occurred trying to start process 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\bin\ObjectDetectionYOLOv5Net.exe' with working directory 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net'. The system cannot find the file specified.
19:10:33: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
19:10:33:Please check the CodeProject.AI installation completed successfully


YOLO v5.3.1

Quote:
18:50:02:Error trying to start Object Detection (YOLOv5 3.1) (detect_adapter.py)
18:50:02:Error is: An error occurred trying to start process 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-3.1\bin\windows\python37\venv\Scripts\python' with working directory 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-3.1'. The system cannot find the file specified.
18:50:02: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
18:50:02:Please check the CodeProject.AI installation completed successfully





The module install seem to fail every time although I do not have Internet problems :

Quote:
19:09:51:Preparing to install module 'ObjectDetectionYOLOv5Net'
19:09:51:Downloading module 'ObjectDetectionYOLOv5Net'
19:10:10:Installing module 'ObjectDetectionYOLOv5Net'
19:10:10:ObjectDetectionYOLOv5Net: 'chcp' is not recognized as an internal or external command,
19:10:10:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:10:ObjectDetectionYOLOv5Net: Installing CodeProject.AI Analysis Module
19:10:10:ObjectDetectionYOLOv5Net: ======================================================================
19:10:10:ObjectDetectionYOLOv5Net: CodeProject.AI Installer
19:10:10:ObjectDetectionYOLOv5Net: ======================================================================
19:10:10:ObjectDetectionYOLOv5Net: 'wmic' is not recognized as an internal or external command,
19:10:10:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:10:ObjectDetectionYOLOv5Net: -1.-1Gb of -1Gb available on
19:10:10:ObjectDetectionYOLOv5Net: General CodeProject.AI setup
19:10:10:ObjectDetectionYOLOv5Net: Creating Directories...Done
19:10:10:ObjectDetectionYOLOv5Net: GPU support
19:10:10:ObjectDetectionYOLOv5Net: CUDA Present...No
19:10:10:ObjectDetectionYOLOv5Net: ROCm Present...No
19:10:12:ObjectDetectionYOLOv5Net: Reading ObjectDetectionYOLOv5Net settings.......Done
19:10:12:ObjectDetectionYOLOv5Net: Installing module Object Detection (YOLOv5 .NET) 1.9.2
19:10:12:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:12:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:12:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:12:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:12:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:12:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:12:ObjectDetectionYOLOv5Net: Downloading ObjectDetectionYOLOv5Net-DirectML-1.9.2.zip...BITS transfer failed. Trying Powershell....
19:10:12:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:12:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:12:ObjectDetectionYOLOv5Net: Download failed. Sorry.
19:10:13:ObjectDetectionYOLOv5Net: Failed to download and extract ObjectDetectionYOLOv5Net-DirectML-1.9.2.zip
19:10:13:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:13:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:13:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:13:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:13:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:13:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:13:ObjectDetectionYOLOv5Net: Downloading YOLO ONNX models...BITS transfer failed. Trying Powershell....
19:10:13:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:13:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:13:ObjectDetectionYOLOv5Net: Download failed. Sorry.
19:10:13:ObjectDetectionYOLOv5Net: Failed to download and extract yolonet-models.zip
19:10:13:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:13:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:13:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:13:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:13:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:13:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:13:ObjectDetectionYOLOv5Net: Downloading Custom YOLO ONNX models...BITS transfer failed. Trying Powershell....
19:10:13:ObjectDetectionYOLOv5Net: 'powershell' is not recognized as an internal or external command,
19:10:13:ObjectDetectionYOLOv5Net: operable program or batch file.
19:10:13:ObjectDetectionYOLOv5Net: Download failed. Sorry.
19:10:13:ObjectDetectionYOLOv5Net: Failed to download and extract yolonet-custom-models.zip
19:10:13:ObjectDetectionYOLOv5Net: Self test: .\bin\ObjectDetectionYOLOv5Net.exe does not exist
19:10:13:ObjectDetectionYOLOv5Net: No self-test available
19:10:13:ObjectDetectionYOLOv5Net: Module setup time 00:00:02.56
19:10:13:ObjectDetectionYOLOv5Net: Setup complete
19:10:13:ObjectDetectionYOLOv5Net: Total setup time 00:00:02.95
19:10:13:Module ObjectDetectionYOLOv5Net installed successfully.
19:10:13:Module ObjectDetectionYOLOv5Net not configured to AutoStart.
19:10:13:Installer exited with code 0




thanks for your help :)

What I have tried:

uninstalled, deleted folders in Program Files and in Program Data, ran Ccleaner to clear any residue. I did this about 10 times and STILL no luck.
Posted
Comments
PIEBALDconsult 1-Feb-24 15:00pm    
Maybe they can help you over here...
https://www.codeproject.com/Feature/CodeProjectAI-Discussions.aspx

1 solution

This would be better posted in the dedicated forum: CodeProject.AI Discussions[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900