-
Notifications
You must be signed in to change notification settings - Fork 202
Description
Area of Concern
- Server
- Behaviour of one or more Modules [Object Detection Yolo v5 RKNN]
- Installer
- Runtime [e.g. Python3.7, .NET]
- Module packages [e.g. PyTorch)
- Something else
Describe the bug
Clicked install for module Object Detection Yolo v5 RKNN. Install proceeded, but failed to start module. Python runtime reports a traceback error (see below).
Expected behavior
Expected Object Detection Yolo v5 RKNN to start and remain running and operational.
Screenshots
If applicable, add screenshots to help explain your problem.
Your System (please complete the following information):
- CodeProject.AI Server version: v2.9.4 amd64 docker image
- OS: Linux (Ubuntu 22.04 Jammy Jellyfish)
- System: OrangePi Max
Additional context
Logs for module installation.
14:37:42:System: Docker (4d97fab42ead)
14:37:42:Operating System: Linux (Ubuntu 22.04 Jammy Jellyfish)
14:37:42:CPUs: 1 CPU. (Arm64)
14:37:42:System RAM: 16 GiB
14:37:42:Platform: OrangePi
14:37:42:BuildConfig: Release
14:37:42:Execution Env: Docker
14:37:42:Runtime Env: Production
14:37:42:Runtimes installed:
14:37:42: .NET runtime: 9.0.0
14:37:42: .NET SDK: Not found
14:37:42: Default Python: 3.10.12
14:37:42: Go: Not found
14:37:42: NodeJS: Not found
14:37:42: Rust: Not found
14:37:42:App DataDir: /etc/codeproject/ai
14:37:42:Video adapter info:
14:37:42:STARTING CODEPROJECT.AI SERVER
14:37:42:RUNTIMES_PATH = /app/runtimes
14:37:42:PREINSTALLED_MODULES_PATH = /app/preinstalled-modules
14:37:42:DEMO_MODULES_PATH = /app/src/demos/modules
14:37:42:EXTERNAL_MODULES_PATH = /CodeProject.AI-Modules
14:37:42:MODULES_PATH = /app/modules
14:37:42:PYTHON_PATH = /bin/ubuntu/%PYTHON_NAME%/venv/bin/python3
14:37:42:Data Dir = /etc/codeproject/ai
14:37:42:Server version: 2.9.4
14:37:42:ModuleRunner Start
14:37:42:Initial module install list exists (or no initial install version)
14:37:42:Rerunning modules setup because the Docker container ID has changed.
14:37:42:Installing module 'All Modules'
14:37:42:Installer script at '/app/setup.sh'
14:37:42:Setting verbosity to quiet
14:37:42:Hi Docker! We will disable shared python installs for downloaded modules
14:37:42:Overriding address(es) 'http://+:32168, http://+:5000'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
14:37:42:(No schemas means: we can't detect if you're in light or dark mode)
14:37:42: Setting up CodeProject.AI Development Environment
14:37:42:======================================================================
14:37:42: CodeProject.AI Installer
14:37:42:======================================================================
14:37:42:26.05 GiB of 58.07 GiB available on Orange Pi (linux ubuntu arm64 - orangepi)
14:37:42:Installing xz-utils...
14:37:44:General CodeProject.AI setup
14:37:44:Setting permissions on runtimes folder...done
14:37:44:Setting permissions on general downloads folder...done
14:37:44:Creating module asset downloads folder...done
14:37:44:Setting permissions on module asset downloads folder...done
14:37:44:Setting permissions on modules folder...done
14:37:44:Creating models folder...done
14:37:44:Setting permissions on models folder...done
14:37:44:Setting permissions on persisted data folder...done
14:37:44:GPU support
14:37:45:CUDA (NVIDIA) Present: No
14:37:45:ROCm (AMD) Present: No
14:37:45:MPS (Apple) Present: No
14:37:45:Processing Included CodeProject.AI Server Modules
14:37:45:Reading module settings.......done
14:37:45:Processing module (Internal)
14:37:45:This module cannot be installed on this system
14:37:45:Processing External CodeProject.AI Server Modules
14:37:45:No external modules found
14:37:45:Module setup Complete
14:37:45: Setup complete
14:37:45:Total setup time 00:00:03
14:37:47:Server: This is a new, unreleased version
14:37:47:Current Version is 2.9.4
14:37:49:Installer exited with code 0
14:37:49:Starting Background AI Modules
14:37:52:Running module using: python3.8
14:37:52:
14:37:52:Attempting to start FaceProcessing with python3.8 "/app/preinstalled-modules/FaceProcessing/intelligencelayer/face.py"
14:37:52:
14:37:52:Starting python3.8 "/app.../FaceProcessing/intelligencelayer/face.py"
14:37:52:Module 'Face Processing' 1.12.1 (ID: FaceProcessing)
14:37:52:Valid: True
14:37:52:Module Path: /preinstalled-modules/FaceProcessing
14:37:52:Module Location: PreInstalled
14:37:52:AutoStart: True
14:37:52:Queue: faceprocessing_queue
14:37:52:Runtime: python3.8
14:37:52:Runtime Location: System
14:37:52:FilePath: intelligencelayer/face.py
14:37:52:Start pause: 3 sec
14:37:52:Parallelism: 0
14:37:52:LogVerbosity:
14:37:52:Platforms: all,!jetson
14:37:52:GPU Libraries: installed if available
14:37:52:GPU: use if supported
14:37:52:Accelerator:
14:37:52:Half Precision: enable
14:37:52:Environment Variables
14:37:52:APPDIR = /preinstalled-modules/FaceProcessing/intelligencelayer
14:37:52:DATA_DIR = /etc/codeproject/ai
14:37:52:MODE = MEDIUM
14:37:52:MODELS_DIR = /preinstalled-modules/FaceProcessing/assets
14:37:52:PROFILE = desktop_gpu
14:37:52:USE_CUDA = True
14:37:52:YOLOv5_AUTOINSTALL = false
14:37:52:YOLOv5_VERBOSE = false
14:37:52:
14:37:52:Started Face Processing module
14:37:55:Running module using: python3.8
14:37:55:Starting python3.8 "/app...jectDetectionYOLOv5-6.2/detect_adapter.py"
14:37:55:
14:37:55:Attempting to start ObjectDetectionYOLOv5-6.2 with python3.8 "/app/preinstalled-modules/ObjectDetectionYOLOv5-6.2/detect_adapter.py"
14:37:55:
14:37:55:Module 'Object Detection (YOLOv5 6.2)' 1.10.0 (ID: ObjectDetectionYOLOv5-6.2)
14:37:55:Valid: True
14:37:55:Module Path: /preinstalled-modules/ObjectDetectionYOLOv5-6.2
14:37:55:Module Location: PreInstalled
14:37:55:AutoStart: True
14:37:55:Queue: objectdetection_queue
14:37:55:Runtime: python3.8
14:37:55:Runtime Location: System
14:37:55:FilePath: detect_adapter.py
14:37:55:Start pause: 1 sec
14:37:55:Parallelism: 0
14:37:55:LogVerbosity:
14:37:55:Platforms: all,!raspberrypi,!jetson
14:37:55:GPU Libraries: installed if available
14:37:55:GPU: use if supported
14:37:55:Accelerator:
14:37:55:Half Precision: enable
14:37:55:Environment Variables
14:37:55:APPDIR = /preinstalled-modules/ObjectDetectionYOLOv5-6.2
14:37:55:CUSTOM_MODELS_DIR = /preinstalled-modules/ObjectDetectionYOLOv5-6.2/custom-models
14:37:55:MODELS_DIR = /preinstalled-modules/ObjectDetectionYOLOv5-6.2/assets
14:37:55:MODEL_SIZE = Medium
14:37:55:USE_CUDA = True
14:37:55:YOLOv5_AUTOINSTALL = false
14:37:55:YOLOv5_VERBOSE = false
14:37:55:
14:37:55:Started Object Detection (YOLOv5 6.2) module
14:37:55:face.py: Vision AI services setup: Retrieving environment variables...
14:37:55:face.py: Running init for Face Processing
14:37:55:face.py: APPDIR: /app/preinstalled-modules/FaceProcessing/intelligencelayer
14:37:55:face.py: PROFILE: desktop_cpu
14:37:55:face.py: USE_CUDA: False
14:37:55:face.py: DATA_DIR: /etc/codeproject/ai
14:37:55:face.py: MODELS_DIR: /app/preinstalled-modules/FaceProcessing/assets
14:37:55:face.py: MODE: MEDIUM
14:37:58:detect_adapter.py: APPDIR: /app/preinstalled-modules/ObjectDetectionYOLOv5-6.2
14:37:58:detect_adapter.py: MODEL_SIZE: medium
14:37:58:detect_adapter.py: MODELS_DIR: /app/preinstalled-modules/ObjectDetectionYOLOv5-6.2/assets
14:37:58:detect_adapter.py: Running init for Object Detection (YOLOv5 6.2)
14:38:24:Preparing to install module 'ObjectDetectionYoloRKNN'
14:38:24:Downloading module 'ObjectDetectionYoloRKNN'
14:38:24:Installing module 'ObjectDetectionYoloRKNN'
14:38:24:Installer script at '/app/setup.sh'
14:38:24:ObjectDetectionYoloRKNN: Setting verbosity to loud
14:38:24:ObjectDetectionYoloRKNN: Hi Docker! We will disable shared python installs for downloaded modules
14:38:24:ObjectDetectionYoloRKNN: (No schemas means: we can't detect if you're in light or dark mode)
14:38:24:ObjectDetectionYoloRKNN: Installing CodeProject.AI Analysis Module
14:38:24:ObjectDetectionYoloRKNN: ======================================================================
14:38:24:ObjectDetectionYoloRKNN: CodeProject.AI Installer
14:38:24:ObjectDetectionYoloRKNN: ======================================================================
14:38:24:ObjectDetectionYoloRKNN: 26.03 GiB of 58.07 GiB available on Orange Pi (linux ubuntu arm64 - orangepi)
14:38:24:ObjectDetectionYoloRKNN: Installing xz-utils...
14:38:27:ObjectDetectionYoloRKNN: General CodeProject.AI setup
14:38:27:ObjectDetectionYoloRKNN: Setting permissions on runtimes folder...done
14:38:27:ObjectDetectionYoloRKNN: Setting permissions on general downloads folder...done
14:38:27:ObjectDetectionYoloRKNN: Setting permissions on module asset downloads folder...done
14:38:27:ObjectDetectionYoloRKNN: Setting permissions on modules folder...done
14:38:27:ObjectDetectionYoloRKNN: Setting permissions on models folder...done
14:38:27:ObjectDetectionYoloRKNN: Setting permissions on persisted data folder...done
14:38:27:ObjectDetectionYoloRKNN: os, name, arch = linux ubuntu (jammy) arm64
14:38:27:ObjectDetectionYoloRKNN: systemName, platform = Orange Pi, orangepi
14:38:27:ObjectDetectionYoloRKNN: edgeDevice = Orange Pi
14:38:27:ObjectDetectionYoloRKNN: SSH = false
14:38:27:ObjectDetectionYoloRKNN: setupMode = SetupModule
14:38:27:ObjectDetectionYoloRKNN: executionEnvironment = Production
14:38:27:ObjectDetectionYoloRKNN: rootDirPath = /app
14:38:27:ObjectDetectionYoloRKNN: appRootDirPath = /app
14:38:27:ObjectDetectionYoloRKNN: setupScriptDirPath = /app
14:38:27:ObjectDetectionYoloRKNN: utilsScriptsDirPath = /app/scripts
14:38:27:ObjectDetectionYoloRKNN: runtimesDirPath = /app/runtimes
14:38:27:ObjectDetectionYoloRKNN: modulesDirPath = /app/modules
14:38:27:ObjectDetectionYoloRKNN: externalModulesDirPath = /app/../CodeProject.AI-Modules
14:38:27:ObjectDetectionYoloRKNN: downloadDirPath = /app/downloads
14:38:27:ObjectDetectionYoloRKNN: downloadModuleAssetsDirPath = /app/downloads/modules/assets
14:38:27:ObjectDetectionYoloRKNN: assetStorageUrl = https://codeproject-ai-bunny.b-cdn.net/server/assets/
14:38:27:ObjectDetectionYoloRKNN: GPU support
14:38:27:ObjectDetectionYoloRKNN: CUDA (NVIDIA) Present: No
14:38:27:ObjectDetectionYoloRKNN: ROCm (AMD) Present: No
14:38:27:ObjectDetectionYoloRKNN: MPS (Apple) Present: No
14:38:27:ObjectDetectionYoloRKNN: Reading module settings.......done
14:38:27:ObjectDetectionYoloRKNN: Processing module ObjectDetectionYoloRKNN 1.8.1 (Internal)
14:38:28:ObjectDetectionYoloRKNN: Variable Dump
14:38:28:ObjectDetectionYoloRKNN: moduleName = Object Detection (YOLOv5 RKNN)
14:38:28:ObjectDetectionYoloRKNN: moduleId = ObjectDetectionYoloRKNN
14:38:28:ObjectDetectionYoloRKNN: moduleVersion = 1.8.1
14:38:28:ObjectDetectionYoloRKNN: runtime = python3.9
14:38:28:ObjectDetectionYoloRKNN: runtimeLocation = Local
14:38:28:ObjectDetectionYoloRKNN: installGPU = true
14:38:28:ObjectDetectionYoloRKNN: pythonVersion = 3.9
14:38:28:ObjectDetectionYoloRKNN: virtualEnvDirPath = /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv
14:38:28:ObjectDetectionYoloRKNN: venvPythonCmdPath = /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/bin/python3.9
14:38:28:ObjectDetectionYoloRKNN: packagesDirPath = /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/
14:38:28:ObjectDetectionYoloRKNN: moduleStartFilePath = objectdetection_fd_rknn_adapter.py
14:38:28:ObjectDetectionYoloRKNN: Installing Python 3.9
14:38:28:ObjectDetectionYoloRKNN: Python install path is /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39
14:38:28:ObjectDetectionYoloRKNN: Python 3.9 is already installed
14:38:29:ObjectDetectionYoloRKNN: Ensuring PIP in base python install...Reading package lists...
14:38:29:ObjectDetectionYoloRKNN: Building dependency tree...
14:38:29:ObjectDetectionYoloRKNN: Reading state information...
14:38:30:ObjectDetectionYoloRKNN: The following packages will be upgraded:
14:38:30:ObjectDetectionYoloRKNN: python3.9-distutils
14:38:32:ObjectDetectionYoloRKNN: 1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
14:38:32:ObjectDetectionYoloRKNN: Need to get 193 kB of archives.
14:38:32:ObjectDetectionYoloRKNN: After this operation, 0 B of additional disk space will be used.
14:38:32:ObjectDetectionYoloRKNN: Get:1 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 python3.9-distutils all 3.9.21-1+jammy1 [193 kB]
14:38:34:ObjectDetectionYoloRKNN: Fetched 193 kB in 2s (85.3 kB/s)
14:38:34:ObjectDetectionYoloRKNN: (Reading database ...
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 5%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 10%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 15%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 20%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 25%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 30%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 35%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 40%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 45%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 50%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 55%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 60%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 65%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 70%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 75%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 80%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 85%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 90%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 95%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 100%
14:38:34:ObjectDetectionYoloRKNN: (Reading database ... 21761 files and directories currently installed.)
14:38:34:ObjectDetectionYoloRKNN: Preparing to unpack .../python3.9-distutils_3.9.21-1+jammy1_all.deb ...
14:38:34:ObjectDetectionYoloRKNN: Unpacking python3.9-distutils (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:38:35:ObjectDetectionYoloRKNN: Setting up python3.9-distutils (3.9.21-1+jammy1) ...
14:38:37:ObjectDetectionYoloRKNN: Looking in links: /tmp/tmpqwy9_5m1
14:38:37:ObjectDetectionYoloRKNN: Requirement already satisfied: setuptools in /usr/local/lib/python3.9/dist-packages (75.6.0)
14:38:37:ObjectDetectionYoloRKNN: Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.3.1)
14:38:37:ObjectDetectionYoloRKNN: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
14:38:37:ObjectDetectionYoloRKNN: done
14:38:38:ObjectDetectionYoloRKNN: Upgrading PIP in base python install...Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.3.1)
14:38:38:ObjectDetectionYoloRKNN: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
14:38:38:ObjectDetectionYoloRKNN: done
14:38:38:ObjectDetectionYoloRKNN: Installing Virtual Environment tools for Linux...
14:38:38:ObjectDetectionYoloRKNN: Searching for installed dependencies:
14:38:44:ObjectDetectionYoloRKNN: -> python3-pip python3-setuptools python3.9-venv done
14:38:44:ObjectDetectionYoloRKNN: Installing missing dependencies:
14:38:44:ObjectDetectionYoloRKNN: -> python3.9-venv
14:38:45:ObjectDetectionYoloRKNN: Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
14:38:45:ObjectDetectionYoloRKNN: Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
14:38:45:ObjectDetectionYoloRKNN: Hit:3 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
14:38:45:ObjectDetectionYoloRKNN: Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
14:38:45:ObjectDetectionYoloRKNN: Hit:5 https://ppa.launchpadcontent.net/dotnet/backports/ubuntu jammy InRelease
14:38:46:ObjectDetectionYoloRKNN: Hit:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
14:38:47:ObjectDetectionYoloRKNN: Reading package lists...
14:38:49:ObjectDetectionYoloRKNN: Reading package lists...
14:38:49:ObjectDetectionYoloRKNN: Building dependency tree...
14:38:49:ObjectDetectionYoloRKNN: Reading state information...
14:38:50:ObjectDetectionYoloRKNN: The following additional packages will be installed:
14:38:50:ObjectDetectionYoloRKNN: libpython3.9 libpython3.9-dev libpython3.9-minimal libpython3.9-stdlib
14:38:50:ObjectDetectionYoloRKNN: python3.9 python3.9-dev python3.9-minimal
14:38:50:ObjectDetectionYoloRKNN: Suggested packages:
14:38:50:ObjectDetectionYoloRKNN: binfmt-support
14:38:50:ObjectDetectionYoloRKNN: The following packages will be upgraded:
14:38:50:ObjectDetectionYoloRKNN: libpython3.9 libpython3.9-dev libpython3.9-minimal libpython3.9-stdlib
14:38:50:ObjectDetectionYoloRKNN: python3.9 python3.9-dev python3.9-minimal python3.9-venv
14:38:51:ObjectDetectionYoloRKNN: 8 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
14:38:51:ObjectDetectionYoloRKNN: Need to get 14.5 MB of archives.
14:38:51:ObjectDetectionYoloRKNN: After this operation, 403 kB disk space will be freed.
14:38:51:ObjectDetectionYoloRKNN: Get:1 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 python3.9-dev arm64 3.9.21-1+jammy1 [500 kB]
14:38:53:ObjectDetectionYoloRKNN: Get:2 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 libpython3.9-dev arm64 3.9.21-1+jammy1 [4596 kB]
14:38:53:Response timeout. Try increasing the timeout value
14:38:54:ObjectDetectionYoloRKNN: Get:3 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 libpython3.9 arm64 3.9.21-1+jammy1 [1855 kB]
14:38:54:ObjectDetectionYoloRKNN: Get:4 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 python3.9-venv arm64 3.9.21-1+jammy1 [2650 kB]
14:38:54:ObjectDetectionYoloRKNN: Get:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 python3.9 arm64 3.9.21-1+jammy1 [93.0 kB]
14:38:54:ObjectDetectionYoloRKNN: Get:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 libpython3.9-stdlib arm64 3.9.21-1+jammy1 [1851 kB]
14:38:54:ObjectDetectionYoloRKNN: Get:7 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 python3.9-minimal arm64 3.9.21-1+jammy1 [2101 kB]
14:38:54:ObjectDetectionYoloRKNN: Get:8 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main arm64 libpython3.9-minimal arm64 3.9.21-1+jammy1 [835 kB]
14:38:56:ObjectDetectionYoloRKNN: Fetched 14.5 MB in 5s (3077 kB/s)
14:38:56:ObjectDetectionYoloRKNN: (Reading database ...
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 5%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 10%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 15%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 20%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 25%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 30%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 35%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 40%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 45%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 50%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 55%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 60%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 65%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 70%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 75%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 80%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 85%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 90%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 95%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 100%
14:38:56:ObjectDetectionYoloRKNN: (Reading database ... 21761 files and directories currently installed.)
14:38:56:ObjectDetectionYoloRKNN: Preparing to unpack .../0-python3.9-dev_3.9.21-1+jammy1_arm64.deb ...
14:38:56:ObjectDetectionYoloRKNN: Unpacking python3.9-dev (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:38:56:ObjectDetectionYoloRKNN: Preparing to unpack .../1-libpython3.9-dev_3.9.21-1+jammy1_arm64.deb ...
14:38:56:ObjectDetectionYoloRKNN: Unpacking libpython3.9-dev:arm64 (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:38:57:ObjectDetectionYoloRKNN: Preparing to unpack .../2-libpython3.9_3.9.21-1+jammy1_arm64.deb ...
14:38:57:ObjectDetectionYoloRKNN: Unpacking libpython3.9:arm64 (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:38:57:ObjectDetectionYoloRKNN: Preparing to unpack .../3-python3.9-venv_3.9.21-1+jammy1_arm64.deb ...
14:38:57:ObjectDetectionYoloRKNN: Unpacking python3.9-venv (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:38:58:ObjectDetectionYoloRKNN: Preparing to unpack .../4-python3.9_3.9.21-1+jammy1_arm64.deb ...
14:38:58:ObjectDetectionYoloRKNN: Unpacking python3.9 (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:38:58:ObjectDetectionYoloRKNN: Preparing to unpack .../5-libpython3.9-stdlib_3.9.21-1+jammy1_arm64.deb ...
14:38:58:ObjectDetectionYoloRKNN: Unpacking libpython3.9-stdlib:arm64 (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:38:59:ObjectDetectionYoloRKNN: Preparing to unpack .../6-python3.9-minimal_3.9.21-1+jammy1_arm64.deb ...
14:38:59:ObjectDetectionYoloRKNN: Unpacking python3.9-minimal (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:38:59:ObjectDetectionYoloRKNN: Preparing to unpack .../7-libpython3.9-minimal_3.9.21-1+jammy1_arm64.deb ...
14:38:59:ObjectDetectionYoloRKNN: Unpacking libpython3.9-minimal:arm64 (3.9.21-1+jammy1) over (3.9.20-1+jammy1) ...
14:39:00:ObjectDetectionYoloRKNN: Setting up libpython3.9-minimal:arm64 (3.9.21-1+jammy1) ...
14:39:00:ObjectDetectionYoloRKNN: Setting up python3.9-minimal (3.9.21-1+jammy1) ...
14:39:01:ObjectDetectionYoloRKNN: Setting up libpython3.9-stdlib:arm64 (3.9.21-1+jammy1) ...
14:39:01:ObjectDetectionYoloRKNN: Setting up libpython3.9:arm64 (3.9.21-1+jammy1) ...
14:39:01:ObjectDetectionYoloRKNN: Setting up python3.9 (3.9.21-1+jammy1) ...
14:39:02:ObjectDetectionYoloRKNN: Setting up libpython3.9-dev:arm64 (3.9.21-1+jammy1) ...
14:39:02:ObjectDetectionYoloRKNN: Setting up python3.9-dev (3.9.21-1+jammy1) ...
14:39:02:ObjectDetectionYoloRKNN: Setting up python3.9-venv (3.9.21-1+jammy1) ...
14:39:02:ObjectDetectionYoloRKNN: Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
14:39:02:ObjectDetectionYoloRKNN: Creating Virtual Environment (Local)...Install path is /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39
14:39:07:ObjectDetectionYoloRKNN: done
14:39:07:ObjectDetectionYoloRKNN: Checking for Python 3.9...(Found Python 3.9.21) All good
14:39:09:ObjectDetectionYoloRKNN: Upgrading PIP in virtual environment... done
14:39:12:ObjectDetectionYoloRKNN: Installing updated setuptools in venv... done
14:39:12:ObjectDetectionYoloRKNN: Downloading objectdetect-rknn-models.zip to /app/downloads/modules/assets/ObjectDetectionYoloRKNN
14:39:12:ObjectDetectionYoloRKNN: Extracting to assets in this folder
14:39:12:ObjectDetectionYoloRKNN: --2024-12-09 03:39:12-- https://codeproject-ai-bunny.b-cdn.net/server/assets/models/objectdetect-rknn-models.zip
14:39:12:ObjectDetectionYoloRKNN: Resolving codeproject-ai-bunny.b-cdn.net (codeproject-ai-bunny.b-cdn.net)... 103.180.114.1, 2400:52e0:1::1
14:39:12:ObjectDetectionYoloRKNN: Connecting to codeproject-ai-bunny.b-cdn.net (codeproject-ai-bunny.b-cdn.net)|103.180.114.1|:443... connected.
14:39:12:ObjectDetectionYoloRKNN: HTTP request sent, awaiting response... 404 Not Found
14:39:12:ObjectDetectionYoloRKNN: 2024-12-09 03:39:12 ERROR 404: Not Found.
14:39:12:ObjectDetectionYoloRKNN: Downloading Standard YOLOv5 RKNN models...The wget command failed for file objectdetect-rknn-models.zip.
14:39:12:ObjectDetectionYoloRKNN: Moving contents of objectdetect-rknn-models.zip to assets...done.
14:39:12:ObjectDetectionYoloRKNN: Downloading objectdetect-rknn-custom-models.zip to /app/downloads/modules/assets/ObjectDetectionYoloRKNN
14:39:12:ObjectDetectionYoloRKNN: Extracting to custom-models in this folder
14:39:12:ObjectDetectionYoloRKNN: --2024-12-09 03:39:12-- https://codeproject-ai-bunny.b-cdn.net/server/assets/models/objectdetect-rknn-custom-models.zip
14:39:12:ObjectDetectionYoloRKNN: Resolving codeproject-ai-bunny.b-cdn.net (codeproject-ai-bunny.b-cdn.net)... 103.180.114.1, 2400:52e0:1::1
14:39:12:ObjectDetectionYoloRKNN: Connecting to codeproject-ai-bunny.b-cdn.net (codeproject-ai-bunny.b-cdn.net)|103.180.114.1|:443... connected.
14:39:13:ObjectDetectionYoloRKNN: HTTP request sent, awaiting response... 404 Not Found
14:39:13:ObjectDetectionYoloRKNN: 2024-12-09 03:39:13 ERROR 404: Not Found.
14:39:13:ObjectDetectionYoloRKNN: Downloading Custom YOLOv5 RKNN models...The wget command failed for file objectdetect-rknn-custom-models.zip.
14:39:13:ObjectDetectionYoloRKNN: Moving contents of objectdetect-rknn-custom-models.zip to custom-models...done.
14:39:13:ObjectDetectionYoloRKNN: Installing Python packages for Object Detection (YOLOv5 RKNN)
14:39:13:ObjectDetectionYoloRKNN: Installing GPU-enabled libraries: If available
14:39:13:ObjectDetectionYoloRKNN: Ensuring PIP is installed and up to date...
14:39:13:ObjectDetectionYoloRKNN: Searching for installed dependencies:
14:39:14:ObjectDetectionYoloRKNN: -> python3-pip done
14:39:14:ObjectDetectionYoloRKNN: All dependencies already installed.
14:39:14:ObjectDetectionYoloRKNN: Ensuring PIP compatibility ...
14:39:17:ObjectDetectionYoloRKNN: Looking in links: /tmp/tmpe_l9fqfy
14:39:17:ObjectDetectionYoloRKNN: Requirement already satisfied: setuptools in ./bin/ubuntu/python39/venv/lib/python3.9/site-packages (75.6.0)
14:39:17:ObjectDetectionYoloRKNN: Requirement already satisfied: pip in ./bin/ubuntu/python39/venv/lib/python3.9/site-packages (24.3.1)
14:39:17:ObjectDetectionYoloRKNN: Python packages will be specified by requirements.txt
14:39:18:ObjectDetectionYoloRKNN: ERROR: Invalid requirement: 'numpy=1.23': Expected end or semicolon (after name and no valid version specifier)
14:39:18:ObjectDetectionYoloRKNN: numpy=1.23
14:39:18:ObjectDetectionYoloRKNN: ^
14:39:18:ObjectDetectionYoloRKNN: Hint: = is not a valid operator. Did you mean == ?
14:39:18:ObjectDetectionYoloRKNN: - Installing NumPy, a package for scientific computing...Checking ...Check done...Installing numpy=1.23...(❌ failed check) Failed
14:39:19:ObjectDetectionYoloRKNN: - Installing the RK NPU specific FastDeploy 1.4...Installing https://github.com/MikeLud/CodeProject.AI-Custom-IPcam-Models/raw/main/RKNN_Models/fastdeploy_python-1.4.2b0-cp39-cp39-linux_aarch64.whl...Collecting fastdeploy-python==1.4.2b0
14:39:19:ObjectDetectionYoloRKNN: Downloading https://github.com/MikeLud/CodeProject.AI-Custom-IPcam-Models/raw/main/RKNN_Models/fastdeploy_python-1.4.2b0-cp39-cp39-linux_aarch64.whl (29.2 MB)
14:39:20:ObjectDetectionYoloRKNN: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 29.2/29.2 MB 62.7 MB/s eta 0:00:00
14:39:20:ObjectDetectionYoloRKNN: Collecting fastapi (from fastdeploy-python==1.4.2b0)
14:39:20:ObjectDetectionYoloRKNN: Downloading fastapi-0.115.6-py3-none-any.whl.metadata (27 kB)
14:39:20:ObjectDetectionYoloRKNN: Collecting fastdeploy-tools>=0.0.5 (from fastdeploy-python==1.4.2b0)
14:39:20:ObjectDetectionYoloRKNN: Downloading fastdeploy_tools-0.0.5-py3-none-any.whl.metadata (581 bytes)
14:39:20:ObjectDetectionYoloRKNN: Collecting numpy (from fastdeploy-python==1.4.2b0)
14:39:20:ObjectDetectionYoloRKNN: Downloading numpy-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (62 kB)
14:39:20:ObjectDetectionYoloRKNN: Collecting pyyaml (from fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading PyYAML-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (2.1 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting requests (from fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting tqdm (from fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting wheel (from fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting uvicorn==0.16.0 (from fastdeploy-tools>=0.0.5->fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading uvicorn-0.16.0-py3-none-any.whl.metadata (4.8 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting asgiref>=3.4.0 (from uvicorn==0.16.0->fastdeploy-tools>=0.0.5->fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading asgiref-3.8.1-py3-none-any.whl.metadata (9.3 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting click>=7.0 (from uvicorn==0.16.0->fastdeploy-tools>=0.0.5->fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting h11>=0.8 (from uvicorn==0.16.0->fastdeploy-tools>=0.0.5->fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting starlette<0.42.0,>=0.40.0 (from fastapi->fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading starlette-0.41.3-py3-none-any.whl.metadata (6.0 kB)
14:39:21:ObjectDetectionYoloRKNN: Collecting pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4 (from fastapi->fastdeploy-python==1.4.2b0)
14:39:21:ObjectDetectionYoloRKNN: Downloading pydantic-2.10.3-py3-none-any.whl.metadata (172 kB)
14:39:22:ObjectDetectionYoloRKNN: Collecting typing-extensions>=4.8.0 (from fastapi->fastdeploy-python==1.4.2b0)
14:39:22:ObjectDetectionYoloRKNN: Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
14:39:22:ObjectDetectionYoloRKNN: Collecting charset-normalizer<4,>=2 (from requests->fastdeploy-python==1.4.2b0)
14:39:22:ObjectDetectionYoloRKNN: Downloading charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (34 kB)
14:39:22:ObjectDetectionYoloRKNN: Collecting idna<4,>=2.5 (from requests->fastdeploy-python==1.4.2b0)
14:39:22:ObjectDetectionYoloRKNN: Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
14:39:22:ObjectDetectionYoloRKNN: Collecting urllib3<3,>=1.21.1 (from requests->fastdeploy-python==1.4.2b0)
14:39:22:ObjectDetectionYoloRKNN: Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
14:39:22:ObjectDetectionYoloRKNN: Collecting certifi>=2017.4.17 (from requests->fastdeploy-python==1.4.2b0)
14:39:22:ObjectDetectionYoloRKNN: Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
14:39:22:ObjectDetectionYoloRKNN: Collecting annotated-types>=0.6.0 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi->fastdeploy-python==1.4.2b0)
14:39:22:ObjectDetectionYoloRKNN: Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
14:39:23:ObjectDetectionYoloRKNN: Collecting pydantic-core==2.27.1 (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi->fastdeploy-python==1.4.2b0)
14:39:23:ObjectDetectionYoloRKNN: Downloading pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (6.6 kB)
14:39:23:ObjectDetectionYoloRKNN: Collecting anyio<5,>=3.4.0 (from starlette<0.42.0,>=0.40.0->fastapi->fastdeploy-python==1.4.2b0)
14:39:23:ObjectDetectionYoloRKNN: Downloading anyio-4.7.0-py3-none-any.whl.metadata (4.7 kB)
14:39:23:ObjectDetectionYoloRKNN: Collecting exceptiongroup>=1.0.2 (from anyio<5,>=3.4.0->starlette<0.42.0,>=0.40.0->fastapi->fastdeploy-python==1.4.2b0)
14:39:23:ObjectDetectionYoloRKNN: Downloading exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)
14:39:23:ObjectDetectionYoloRKNN: Collecting sniffio>=1.1 (from anyio<5,>=3.4.0->starlette<0.42.0,>=0.40.0->fastapi->fastdeploy-python==1.4.2b0)
14:39:23:ObjectDetectionYoloRKNN: Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
14:39:23:ObjectDetectionYoloRKNN: Downloading fastdeploy_tools-0.0.5-py3-none-any.whl (10 kB)
14:39:23:ObjectDetectionYoloRKNN: Downloading uvicorn-0.16.0-py3-none-any.whl (54 kB)
14:39:23:ObjectDetectionYoloRKNN: Downloading fastapi-0.115.6-py3-none-any.whl (94 kB)
14:39:23:ObjectDetectionYoloRKNN: Downloading numpy-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.9 MB)
14:39:24:ObjectDetectionYoloRKNN: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.9/13.9 MB 61.6 MB/s eta 0:00:00
14:39:24:ObjectDetectionYoloRKNN: Downloading PyYAML-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (720 kB)
14:39:24:ObjectDetectionYoloRKNN: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 720.9/720.9 kB 25.1 MB/s eta 0:00:00
14:39:24:ObjectDetectionYoloRKNN: Downloading requests-2.32.3-py3-none-any.whl (64 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading tqdm-4.67.1-py3-none-any.whl (78 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (140 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading idna-3.10-py3-none-any.whl (70 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading pydantic-2.10.3-py3-none-any.whl (456 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB)
14:39:24:ObjectDetectionYoloRKNN: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 47.3 MB/s eta 0:00:00
14:39:24:ObjectDetectionYoloRKNN: Downloading starlette-0.41.3-py3-none-any.whl (73 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading anyio-4.7.0-py3-none-any.whl (93 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading asgiref-3.8.1-py3-none-any.whl (23 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading click-8.1.7-py3-none-any.whl (97 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading h11-0.14.0-py3-none-any.whl (58 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
14:39:24:ObjectDetectionYoloRKNN: Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)
14:39:24:ObjectDetectionYoloRKNN: Installing collected packages: wheel, urllib3, typing-extensions, tqdm, sniffio, pyyaml, numpy, idna, h11, exceptiongroup, click, charset-normalizer, certifi, annotated-types, requests, pydantic-core, asgiref, anyio, uvicorn, starlette, pydantic, fastdeploy-tools, fastapi, fastdeploy-python
14:39:29:ObjectDetectionYoloRKNN: Successfully installed annotated-types-0.7.0 anyio-4.7.0 asgiref-3.8.1 certifi-2024.8.30 charset-normalizer-3.4.0 click-8.1.7 exceptiongroup-1.2.2 fastapi-0.115.6 fastdeploy-python-0.0.0 fastdeploy-tools-0.0.5 h11-0.14.0 idna-3.10 numpy-2.0.2 pydantic-2.10.3 pydantic-core-2.27.1 pyyaml-6.0.2 requests-2.32.3 sniffio-1.3.1 starlette-0.41.3 tqdm-4.67.1 typing-extensions-4.12.2 urllib3-2.2.3 uvicorn-0.16.0 wheel-0.45.1
14:39:30:ObjectDetectionYoloRKNN: (not checked) done
14:39:32:ObjectDetectionYoloRKNN: - Installing Pillow, a Python Image Library...Checking ...Check done...Installing Pillow>=4.0.0,<10.0...(✅ checked) done
14:39:33:ObjectDetectionYoloRKNN: - Installing OpenCV, the Open source Computer Vision library...Checking ...Check done...Installing opencv-python==4.5.3.56...Collecting opencv-python==4.5.3.56
14:39:33:ObjectDetectionYoloRKNN: Downloading opencv_python-4.5.3.56-cp39-cp39-manylinux2014_aarch64.whl.metadata (17 kB)
14:39:34:ObjectDetectionYoloRKNN: Collecting numpy>=1.19.3 (from opencv-python==4.5.3.56)
14:39:34:ObjectDetectionYoloRKNN: Using cached numpy-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (62 kB)
14:39:34:ObjectDetectionYoloRKNN: Downloading opencv_python-4.5.3.56-cp39-cp39-manylinux2014_aarch64.whl (34.2 MB)
14:39:34:ObjectDetectionYoloRKNN: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.2/34.2 MB 61.2 MB/s eta 0:00:00
14:39:34:ObjectDetectionYoloRKNN: Using cached numpy-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.9 MB)
14:39:34:ObjectDetectionYoloRKNN: Installing collected packages: numpy, opencv-python
14:39:38:ObjectDetectionYoloRKNN: Successfully installed numpy-2.0.2 opencv-python-4.5.3.56
14:39:38:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/numpy-2.0.2.dist-info already exists. Specify --upgrade to force replacement.
14:39:38:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/numpy.libs already exists. Specify --upgrade to force replacement.
14:39:38:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/numpy already exists. Specify --upgrade to force replacement.
14:39:38:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/bin already exists. Specify --upgrade to force replacement.
14:39:38:ObjectDetectionYoloRKNN: (✅ checked) done
14:39:39:ObjectDetectionYoloRKNN: - Installing the CodeProject.AI SDK...Checking ...Check done...Installing CodeProject-AI-SDK...Collecting CodeProject-AI-SDK
14:39:39:ObjectDetectionYoloRKNN: Downloading codeproject_ai_sdk-0.0.21-py3-none-any.whl.metadata (931 bytes)
14:39:40:ObjectDetectionYoloRKNN: Collecting Pillow (from CodeProject-AI-SDK)
14:39:40:ObjectDetectionYoloRKNN: Using cached pillow-11.0.0-cp39-cp39-manylinux_2_28_aarch64.whl.metadata (9.1 kB)
14:39:40:ObjectDetectionYoloRKNN: Collecting charset-normalizer (from CodeProject-AI-SDK)
14:39:40:ObjectDetectionYoloRKNN: Using cached charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (34 kB)
14:39:40:ObjectDetectionYoloRKNN: Collecting commentjson (from CodeProject-AI-SDK)
14:39:40:ObjectDetectionYoloRKNN: Downloading commentjson-0.9.0.tar.gz (8.7 kB)
14:39:40:ObjectDetectionYoloRKNN: Preparing metadata (setup.py): started
14:39:40:ObjectDetectionYoloRKNN: Preparing metadata (setup.py): finished with status 'done'
14:39:41:ObjectDetectionYoloRKNN: Collecting aiohttp (from CodeProject-AI-SDK)
14:39:41:ObjectDetectionYoloRKNN: Downloading aiohttp-3.11.10-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (7.7 kB)
14:39:41:ObjectDetectionYoloRKNN: Collecting aiofiles (from CodeProject-AI-SDK)
14:39:41:ObjectDetectionYoloRKNN: Downloading aiofiles-24.1.0-py3-none-any.whl.metadata (10 kB)
14:39:41:ObjectDetectionYoloRKNN: Collecting py-cpuinfo (from CodeProject-AI-SDK)
14:39:41:ObjectDetectionYoloRKNN: Downloading py_cpuinfo-9.0.0-py3-none-any.whl.metadata (794 bytes)
14:39:41:ObjectDetectionYoloRKNN: Collecting requests (from CodeProject-AI-SDK)
14:39:41:ObjectDetectionYoloRKNN: Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
14:39:41:ObjectDetectionYoloRKNN: Collecting aiohappyeyeballs>=2.3.0 (from aiohttp->CodeProject-AI-SDK)
14:39:41:ObjectDetectionYoloRKNN: Downloading aiohappyeyeballs-2.4.4-py3-none-any.whl.metadata (6.1 kB)
14:39:41:ObjectDetectionYoloRKNN: Collecting aiosignal>=1.1.2 (from aiohttp->CodeProject-AI-SDK)
14:39:41:ObjectDetectionYoloRKNN: Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
14:39:41:ObjectDetectionYoloRKNN: Collecting async-timeout<6.0,>=4.0 (from aiohttp->CodeProject-AI-SDK)
14:39:41:ObjectDetectionYoloRKNN: Downloading async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB)
14:39:41:ObjectDetectionYoloRKNN: Collecting attrs>=17.3.0 (from aiohttp->CodeProject-AI-SDK)
14:39:41:ObjectDetectionYoloRKNN: Downloading attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
14:39:42:ObjectDetectionYoloRKNN: Collecting frozenlist>=1.1.1 (from aiohttp->CodeProject-AI-SDK)
14:39:42:ObjectDetectionYoloRKNN: Downloading frozenlist-1.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (13 kB)
14:39:42:ObjectDetectionYoloRKNN: Collecting multidict<7.0,>=4.5 (from aiohttp->CodeProject-AI-SDK)
14:39:42:ObjectDetectionYoloRKNN: Downloading multidict-6.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (5.0 kB)
14:39:42:ObjectDetectionYoloRKNN: Collecting propcache>=0.2.0 (from aiohttp->CodeProject-AI-SDK)
14:39:42:ObjectDetectionYoloRKNN: Downloading propcache-0.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (9.2 kB)
14:39:42:ObjectDetectionYoloRKNN: Collecting yarl<2.0,>=1.17.0 (from aiohttp->CodeProject-AI-SDK)
14:39:42:ObjectDetectionYoloRKNN: Downloading yarl-1.18.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (69 kB)
14:39:42:ObjectDetectionYoloRKNN: Collecting lark-parser<0.8.0,>=0.7.1 (from commentjson->CodeProject-AI-SDK)
14:39:42:ObjectDetectionYoloRKNN: Downloading lark-parser-0.7.8.tar.gz (276 kB)
14:39:43:ObjectDetectionYoloRKNN: Preparing metadata (setup.py): started
14:39:43:ObjectDetectionYoloRKNN: Preparing metadata (setup.py): finished with status 'done'
14:39:43:ObjectDetectionYoloRKNN: Collecting idna<4,>=2.5 (from requests->CodeProject-AI-SDK)
14:39:43:ObjectDetectionYoloRKNN: Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
14:39:43:ObjectDetectionYoloRKNN: Collecting urllib3<3,>=1.21.1 (from requests->CodeProject-AI-SDK)
14:39:43:ObjectDetectionYoloRKNN: Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
14:39:43:ObjectDetectionYoloRKNN: Collecting certifi>=2017.4.17 (from requests->CodeProject-AI-SDK)
14:39:43:ObjectDetectionYoloRKNN: Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
14:39:43:ObjectDetectionYoloRKNN: Collecting typing-extensions>=4.1.0 (from multidict<7.0,>=4.5->aiohttp->CodeProject-AI-SDK)
14:39:43:ObjectDetectionYoloRKNN: Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading codeproject_ai_sdk-0.0.21-py3-none-any.whl (39 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading aiofiles-24.1.0-py3-none-any.whl (15 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading aiohttp-3.11.10-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB)
14:39:43:ObjectDetectionYoloRKNN: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 35.3 MB/s eta 0:00:00
14:39:43:ObjectDetectionYoloRKNN: Using cached charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (140 kB)
14:39:43:ObjectDetectionYoloRKNN: Using cached pillow-11.0.0-cp39-cp39-manylinux_2_28_aarch64.whl (4.2 MB)
14:39:43:ObjectDetectionYoloRKNN: Downloading py_cpuinfo-9.0.0-py3-none-any.whl (22 kB)
14:39:43:ObjectDetectionYoloRKNN: Using cached requests-2.32.3-py3-none-any.whl (64 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading aiohappyeyeballs-2.4.4-py3-none-any.whl (14 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading attrs-24.2.0-py3-none-any.whl (63 kB)
14:39:43:ObjectDetectionYoloRKNN: Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading frozenlist-1.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (241 kB)
14:39:43:ObjectDetectionYoloRKNN: Using cached idna-3.10-py3-none-any.whl (70 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading multidict-6.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (126 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading propcache-0.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (207 kB)
14:39:43:ObjectDetectionYoloRKNN: Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
14:39:43:ObjectDetectionYoloRKNN: Downloading yarl-1.18.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (317 kB)
14:39:43:ObjectDetectionYoloRKNN: Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
14:39:43:ObjectDetectionYoloRKNN: Building wheels for collected packages: commentjson, lark-parser
14:39:43:ObjectDetectionYoloRKNN: Building wheel for commentjson (setup.py): started
14:39:44:ObjectDetectionYoloRKNN: Building wheel for commentjson (setup.py): finished with status 'done'
14:39:44:ObjectDetectionYoloRKNN: Created wheel for commentjson: filename=commentjson-0.9.0-py3-none-any.whl size=12076 sha256=2cc0614dd8d96657138c73824c1d33ad4473db52afd852ad46bc88dcc5bd051d
14:39:44:ObjectDetectionYoloRKNN: Stored in directory: /root/.cache/pip/wheels/ed/0e/3c/ef5ab146764cca41417bcd2493db4f72d8d8c658448317a3fe
14:39:44:ObjectDetectionYoloRKNN: Building wheel for lark-parser (setup.py): started
14:39:44:ObjectDetectionYoloRKNN: Building wheel for lark-parser (setup.py): finished with status 'done'
14:39:44:ObjectDetectionYoloRKNN: Created wheel for lark-parser: filename=lark_parser-0.7.8-py2.py3-none-any.whl size=62511 sha256=3abd08c602cc879ab9b5d75fcc1b6284057dfd1481a1c0ccdded5ade7f3064ad
14:39:44:ObjectDetectionYoloRKNN: Stored in directory: /root/.cache/pip/wheels/bc/c3/f2/c6eaa9322426e02b88bc72dd20e6c2a89faad88c7cfdf4689d
14:39:44:ObjectDetectionYoloRKNN: Successfully built commentjson lark-parser
14:39:44:ObjectDetectionYoloRKNN: Installing collected packages: py-cpuinfo, lark-parser, urllib3, typing-extensions, propcache, Pillow, idna, frozenlist, commentjson, charset-normalizer, certifi, attrs, async-timeout, aiohappyeyeballs, aiofiles, requests, multidict, aiosignal, yarl, aiohttp, CodeProject-AI-SDK
14:39:46:ObjectDetectionYoloRKNN: Successfully installed CodeProject-AI-SDK-0.0.21 Pillow-11.0.0 aiofiles-24.1.0 aiohappyeyeballs-2.4.4 aiohttp-3.11.10 aiosignal-1.3.1 async-timeout-5.0.1 attrs-24.2.0 certifi-2024.8.30 charset-normalizer-3.4.0 commentjson-0.9.0 frozenlist-1.5.0 idna-3.10 lark-parser-0.7.8 multidict-6.1.0 propcache-0.2.1 py-cpuinfo-9.0.0 requests-2.32.3 typing-extensions-4.12.2 urllib3-2.2.3 yarl-1.18.3
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/typing_extensions-4.12.2.dist-info already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/requests-2.32.3.dist-info already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/charset_normalizer already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/certifi already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/typing_extensions.py already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/idna already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/pillow-11.0.0.dist-info already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/certifi-2024.8.30.dist-info already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/urllib3 already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/requests already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/charset_normalizer-3.4.0.dist-info already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/PIL already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/idna-3.10.dist-info already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/urllib3-2.2.3.dist-info already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/pillow.libs already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/pycache already exists. Specify --upgrade to force replacement.
14:39:46:ObjectDetectionYoloRKNN: WARNING: Target directory /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/bin already exists. Specify --upgrade to force replacement.
14:39:47:ObjectDetectionYoloRKNN: (✅ checked) done
14:39:47:ObjectDetectionYoloRKNN: Scanning modulesettings for downloadable models...No models specified
14:39:47:ObjectDetectionYoloRKNN: SELF TEST START ======================================================
14:39:48:ObjectDetectionYoloRKNN: A module that was compiled using NumPy 1.x cannot be run in
14:39:48:ObjectDetectionYoloRKNN: NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
14:39:48:ObjectDetectionYoloRKNN: versions of NumPy, modules must be compiled with NumPy 2.0.
14:39:48:ObjectDetectionYoloRKNN: Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
14:39:48:ObjectDetectionYoloRKNN: If you are a user of the module, the easiest solution will be to
14:39:48:ObjectDetectionYoloRKNN: downgrade to 'numpy<2' or try to upgrade the affected module.
14:39:48:ObjectDetectionYoloRKNN: We expect that some modules will need time to support NumPy 2.
14:39:48:ObjectDetectionYoloRKNN: Traceback (most recent call last): File "/app/modules/ObjectDetectionYoloRKNN/objectdetection_fd_rknn_adapter.py", line 7, in
14:39:48:ObjectDetectionYoloRKNN: from codeproject_ai_sdk import RequestData, ModuleRunner, LogMethod, JSON
14:39:48:ObjectDetectionYoloRKNN: File "/app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/codeproject_ai_sdk/init.py", line 4, in
14:39:48:ObjectDetectionYoloRKNN: from .module_runner import ModuleRunner
14:39:48:ObjectDetectionYoloRKNN: File "/app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/codeproject_ai_sdk/module_runner.py", line 36, in
14:39:48:ObjectDetectionYoloRKNN: from .request_data import RequestData
14:39:48:ObjectDetectionYoloRKNN: File "/app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/codeproject_ai_sdk/request_data.py", line 15, in
14:39:48:ObjectDetectionYoloRKNN: import cv2 as cv
14:39:48:ObjectDetectionYoloRKNN: File "/app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/cv2/init.py", line 5, in
14:39:48:ObjectDetectionYoloRKNN: from .cv2 import *
14:39:48:ObjectDetectionYoloRKNN: AttributeError: _ARRAY_API not found
14:39:48:ObjectDetectionYoloRKNN: Info: Using PIL for image manipulation (Either OpenCV or numpy not available for this module)
14:39:48:ObjectDetectionYoloRKNN: Traceback (most recent call last):
14:39:48:ObjectDetectionYoloRKNN: File "/app/modules/ObjectDetectionYoloRKNN/objectdetection_fd_rknn_adapter.py", line 14, in
14:39:48:ObjectDetectionYoloRKNN: from objectdetection_fd_rknn import init_detect, do_detect
14:39:48:ObjectDetectionYoloRKNN: File "/app/modules/ObjectDetectionYoloRKNN/objectdetection_fd_rknn.py", line 26, in
14:39:48:ObjectDetectionYoloRKNN: from module_logging import LogMethod
14:39:48:ObjectDetectionYoloRKNN: ModuleNotFoundError: No module named 'module_logging'
14:39:48:ObjectDetectionYoloRKNN: Self-test failed
14:39:48:ObjectDetectionYoloRKNN: SELF TEST END ======================================================
14:39:48:ObjectDetectionYoloRKNN: Module setup time 00:01:21
14:39:48:ObjectDetectionYoloRKNN: Install failed: Self-test failed
14:39:48:ObjectDetectionYoloRKNN: Setup complete
14:39:48:ObjectDetectionYoloRKNN: Total setup time 00:01:24
14:39:48:ObjectDetectionYoloRKNN: SETUP FAILED:
14:39:48:ObjectDetectionYoloRKNN: - [Int: ObjectDetectionYoloRKNN] Self-test failed
14:39:48:Module ObjectDetectionYoloRKNN installed successfully.
14:39:48:Installer exited with code 1
14:39:48:
14:39:48:Module 'Object Detection (YOLOv5 RKNN)' 1.8.1 (ID: ObjectDetectionYoloRKNN)
14:39:48:Valid: True
14:39:48:Running module using: /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/bin/python3
14:39:48:Starting /app...loRKNN/bin/ubuntu/python39/venv/bin/python3 "/app...loRKNN/objectdetection_fd_rknn_adapter.py"
14:39:48:
14:39:48:Attempting to start ObjectDetectionYoloRKNN with /app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/bin/python3 "/app/modules/ObjectDetectionYoloRKNN/objectdetection_fd_rknn_adapter.py"
14:39:48:Module Path: /modules/ObjectDetectionYoloRKNN
14:39:48:Module Location: Internal
14:39:48:AutoStart: True
14:39:48:Queue: objectdetection_queue
14:39:48:Runtime: python3.9
14:39:48:Runtime Location: Local
14:39:48:FilePath: objectdetection_fd_rknn_adapter.py
14:39:48:Start pause: 1 sec
14:39:48:Parallelism: 1
14:39:48:LogVerbosity:
14:39:48:Platforms: orangepi,radxarock
14:39:48:GPU Libraries: installed if available
14:39:48:GPU: use if supported
14:39:48:Accelerator:
14:39:48:Half Precision: enable
14:39:48:Environment Variables
14:39:48:CUSTOM_MODELS_DIR = /modules/ObjectDetectionYoloRKNN/custom-models
14:39:48:MODELS_DIR = /modules/ObjectDetectionYoloRKNN/assets
14:39:48:MODEL_SIZE = Small
14:39:48:
14:39:48:Started Object Detection (YOLOv5 RKNN) module
14:39:48:objectdetection_fd_rknn_adapter.py: A module that was compiled using NumPy 1.x cannot be run in
14:39:48:objectdetection_fd_rknn_adapter.py: NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
14:39:48:objectdetection_fd_rknn_adapter.py: versions of NumPy, modules must be compiled with NumPy 2.0.
14:39:48:objectdetection_fd_rknn_adapter.py: Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
14:39:48:objectdetection_fd_rknn_adapter.py: If you are a user of the module, the easiest solution will be to
14:39:48:objectdetection_fd_rknn_adapter.py: downgrade to 'numpy<2' or try to upgrade the affected module.
14:39:48:objectdetection_fd_rknn_adapter.py: We expect that some modules will need time to support NumPy 2.
14:39:48:objectdetection_fd_rknn_adapter.py: Traceback (most recent call last): File "/app/modules/ObjectDetectionYoloRKNN/objectdetection_fd_rknn_adapter.py", line 7, in
14:39:48:objectdetection_fd_rknn_adapter.py: from codeproject_ai_sdk import RequestData, ModuleRunner, LogMethod, JSON
14:39:48:objectdetection_fd_rknn_adapter.py: File "/app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/codeproject_ai_sdk/init.py", line 4, in
14:39:48:objectdetection_fd_rknn_adapter.py: from .module_runner import ModuleRunner
14:39:48:objectdetection_fd_rknn_adapter.py: File "/app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/codeproject_ai_sdk/module_runner.py", line 36, in
14:39:48:objectdetection_fd_rknn_adapter.py: from .request_data import RequestData
14:39:48:objectdetection_fd_rknn_adapter.py: File "/app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/codeproject_ai_sdk/request_data.py", line 15, in
14:39:48:objectdetection_fd_rknn_adapter.py: import cv2 as cv
14:39:48:objectdetection_fd_rknn_adapter.py: File "/app/modules/ObjectDetectionYoloRKNN/bin/ubuntu/python39/venv/lib/python3.9/site-packages/cv2/init.py", line 5, in
14:39:48:objectdetection_fd_rknn_adapter.py: from .cv2 import *
14:39:48:objectdetection_fd_rknn_adapter.py: AttributeError: _ARRAY_API not found
14:39:48:objectdetection_fd_rknn_adapter.py: Using PIL for image manipulation (Either OpenCV or numpy not available for this module)
14:39:48:objectdetection_fd_rknn_adapter.py: Traceback (most recent call last):
14:39:48:objectdetection_fd_rknn_adapter.py: File "/app/modules/ObjectDetectionYoloRKNN/objectdetection_fd_rknn_adapter.py", line 14, in
14:39:48:objectdetection_fd_rknn_adapter.py: from objectdetection_fd_rknn import init_detect, do_detect
14:39:48:objectdetection_fd_rknn_adapter.py: File "/app/modules/ObjectDetectionYoloRKNN/objectdetection_fd_rknn.py", line 26, in
14:39:48:objectdetection_fd_rknn_adapter.py: from module_logging import LogMethod
14:39:48:objectdetection_fd_rknn_adapter.py: ModuleNotFoundError: No module named 'module_logging'
14:39:48:Module ObjectDetectionYoloRKNN has shutdown
14:39:48:objectdetection_fd_rknn_adapter.py: has exited
14:39:49:Module ObjectDetectionYoloRKNN started successfully.`