A collection of optimized third-party microservice modules for CodeProject.AI Server.
Follow these steps to manually load these modules into your local CodeProject.AI Server instance:
First things First! Open the CodeProject.AL dashboard and stop your current Object Detection (Yolo) module, and make sure it stops. You should not run multiple versions of Object Detection modules at the same time.
- Click the green Code button at the top right of this GitHub page.
- Select Download ZIP.
- Save and extract the
.zipfile anywhere on your computer.
- Open the extracted folder and locate the
ObjectDetectionYOLO26folder. - Copy the
ObjectDetectionYOLO26folder entirely. - Paste it directly into your local CodeProject.AI modules directory, usually located at:
C:\Program Files\CodeProject\AI\modules\
- Open Command Prompt as an Administrator.
- Navigate to your new module folder by running:
cd "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLO26"
- Run the CodeProject setup.bat script to build the virtual environment and fetch the models:
..\..\setup.bat
- Restart your CodeProject.AI Server service. The new module will initialize inside your local system dashboard and be designated as Private under the Install Modules Tab. If you encounter errors during setup.bat, open Windows Explorer and navigate to the ObjectDetectionYOLO26\logs folder and checkout the log files to help pinpoint and troubleshoot the problem.
- Open Command Prompt as an Administrator.
- Navigate to the ObjectDetectionYOLO26 Python 3.12 scripts folder by running:
cd "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLO26\bin\windows\python312\venv\Scripts"
- Copy, Paste and Run this python script from the 'python312\venv\Scripts' folder:
python.exe -c "import sys, torch, numpy; print(f'--- ENVIRONMENT STATUS ---\nPython: {sys.version.split()[0]}\nNumPy: {numpy.__version__}\nPyTorch: {torch.__version__}\nCUDA Available: {torch.cuda.is_available()}\nGPU Model: {torch.cuda.get_device_name(0) if torch.cuda.is_available() else \"None\"}\ncuDNN Version: {torch.backends.cudnn.version()}\n--------------------------')"
You should see something like this that verifies the isolated environment of your ObjectDetectionYOLO26 module including, CUDA 12.4 and cuDNN 9 running inside the module. There's no need to modify or reconfigure your existing CUDA or cuDNN global installations within the Windows environment.