Nueva instalación, aparece un error de que el módulo ya está instalado

programación

[ad_1]

Hola, tuve una instalación previa de CPAI. Lo eliminé y reinstalé la versión actual a partir de hoy. Se instaló exitosamente. Sin embargo, sin mi intervención, instaló 3 módulos: detección de rostros, yolo v5.net y yolo v5 6.2. Tenga en cuenta que no tengo ninguna GPU excepto la GPU Intel UHD integrada en mi CPU i7. Intenté detener el 6.2 e iniciar la detección de objetos .net. Se inició correctamente, pero aparece un error a continuación y la detección de objetos no funciona en BLue Iris.

Aquí está la información del sistema y el error en el registro:

REGISTRO

14:12:28:System:           Windows
14:12:28:Operating System: Windows (Microsoft Windows 10.0.19045)
14:12:28:CPUs:             Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (Intel)
14:12:28:                  1 CPU x 6 cores. 12 logical processors (x64)
14:12:28:GPU:              Intel(R) UHD Graphics 630 (1,024 MiB) (Intel Corporation)
14:12:28:                  Driver: 31.0.101.2121
14:12:28:System RAM:       16 GiB
14:12:28:Target:           Windows
14:12:28:BuildConfig:      Release
14:12:28:Execution Env:    Native
14:12:28:Runtime Env:      Production
14:12:28:.NET framework:   .NET 7.0.14
14:12:28:App DataDir:      C:\ProgramData\CodeProject\AI
14:12:28:Video adapter info:
14:12:28:  Intel(R) UHD Graphics 630:
14:12:28:    Driver Version     31.0.101.2121
14:12:28:    Video Processor    Intel(R) UHD Graphics Family
14:12:28:STARTING CODEPROJECT.AI SERVER
14:12:28:RUNTIMES_PATH             = C:\Program Files\CodeProject\AI\runtimes
14:12:28:PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
14:12:28:MODULES_PATH              = C:\Program Files\CodeProject\AI\modules
14:12:28:PYTHON_PATH               = \bin\windows\%PYTHON_DIRECTORY%\venv\Scripts\python
14:12:28:Data Dir                  = C:\ProgramData\CodeProject\AI
14:12:28:Server version:   2.3.4-Beta
14:12:31:
14:12:31:Module 'Object Detection (YOLOv5 .NET)' 1.7.1 (ID: ObjectDetectionNet)
14:12:31:Module Path:   C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet
14:12:31:AutoStart:     True
14:12:31:Queue:         objectdetection_queue
14:12:31:Platforms:     all,!macos-arm64
14:12:31:GPU Libraries: installed if available
14:12:31:GPU Enabled:   enabled
14:12:31:Parallelism:   0
14:12:31:Accelerator:
14:12:31:Half Precis.:  enable
14:12:31:Runtime:       dotnet
14:12:31:Runtime Loc:   Shared
14:12:31:FilePath:      ObjectDetectionNet.exe
14:12:31:Pre installed: False
14:12:31:Start pause:   1 sec
14:12:31:LogVerbosity:
14:12:31:Valid:         True
14:12:31:Environment Variables
14:12:31:CPAI_MODULE_ENABLE_GPU = True
14:12:31:CUSTOM_MODELS_DIR      = %CURRENT_MODULE_PATH%\custom-models
14:12:31:MODELS_DIR             = %CURRENT_MODULE_PATH%\assets
14:12:31:MODEL_SIZE             = MEDIUM
14:12:31:USE_CUDA               = True
14:12:31:
14:12:31:Started Object Detection (YOLOv5 .NET) module
14:12:31:ObjectDetectionNet.exe: Error:
14:12:31:ObjectDetectionNet.exe:   An assembly specified in the application dependencies manifest (ObjectDetectionNet.deps.json) has already been found but with a different file extension:
14:12:31:ObjectDetectionNet.exe:     package: 'ObjectDetectionNet', version: '1.4'
14:12:31:ObjectDetectionNet.exe:     path: 'ObjectDetectionNet.dll'
14:12:31:ObjectDetectionNet.exe:     previously found assembly: 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet\ObjectDetectionNet.exe'
14:12:31:Module ObjectDetectionNet has shutdown
14:12:31:ObjectDetectionNet.exe: has exited
14:12:33:Server: This is the latest version
14:14:12:
14:14:12:Module 'Object Detection (YOLOv5 .NET)' 1.7.1 (ID: ObjectDetectionNet)
14:14:12:Module Path:   C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet
14:14:12:AutoStart:     True
14:14:12:Queue:         objectdetection_queue
14:14:12:Platforms:     all,!macos-arm64
14:14:12:GPU Libraries: installed if available
14:14:12:GPU Enabled:   enabled
14:14:12:Parallelism:   0
14:14:12:Accelerator:
14:14:12:Half Precis.:  enable
14:14:12:Runtime:       dotnet
14:14:12:Runtime Loc:   Shared
14:14:12:FilePath:      ObjectDetectionNet.exe
14:14:12:Pre installed: False
14:14:12:Start pause:   1 sec
14:14:12:LogVerbosity:
14:14:12:Valid:         True
14:14:12:Environment Variables
14:14:12:CPAI_MODULE_ENABLE_GPU = True
14:14:12:CUSTOM_MODELS_DIR      = %CURRENT_MODULE_PATH%\custom-models
14:14:12:MODELS_DIR             = %CURRENT_MODULE_PATH%\assets
14:14:12:MODEL_SIZE             = MEDIUM
14:14:12:USE_CUDA               = True
14:14:12:
14:14:12:Started Object Detection (YOLOv5 .NET) module
14:14:12:ObjectDetectionNet.exe: Error:
14:14:12:ObjectDetectionNet.exe:   An assembly specified in the application dependencies manifest (ObjectDetectionNet.deps.json) has already been found but with a different file extension:
14:14:12:Module ObjectDetectionNet has shutdown
14:14:12:ObjectDetectionNet.exe:     package: 'ObjectDetectionNet', version: '1.4'
14:14:12:ObjectDetectionNet.exe:     path: 'ObjectDetectionNet.dll'
14:14:12:ObjectDetectionNet.exe: has exited
14:14:12:ObjectDetectionNet.exe:     previously found assembly: 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet\ObjectDetectionNet.exe'

INFORMACIÓN DEL SISTEMA

Server version:   2.3.4-Beta
System:           Windows
Operating System: Windows (Microsoft Windows 10.0.19045)
CPUs:             Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (Intel)
                  1 CPU x 6 cores. 12 logical processors (x64)
GPU:              Intel(R) UHD Graphics 630 (1,024 MiB) (Intel Corporation) 
                  Driver: 31.0.101.2121
System RAM:       16 GiB
Target:           Windows
BuildConfig:      Release
Execution Env:    Native
Runtime Env:      Production
.NET framework:   .NET 7.0.14
Video adapter info:
  Intel(R) UHD Graphics 630:
    Driver Version     31.0.101.2121
    Video Processor    Intel(R) UHD Graphics Family
System GPU info:
  GPU 3D Usage       7%
  GPU RAM Usage      0
Global Environment variables:
  CPAI_APPROOTPATH = <root>
  CPAI_PORT        = 32168

Lo que he probado:

Deteniendo 6.2 e iniciando .net.
Revisé el archivo json al que se hace referencia en el mensaje de error, pero no encontré nada que destacara como un problema. De hecho, hay un dll y un exe con el mismo nombre de archivo, pero no me queda claro si es incorrecto.

Solución 1

Por favor publique su pregunta en el Debates sobre CodeProject.AI[^] foro.

[ad_2]

コメント

Título y URL copiados