AxisCommunications / acap-computer-vision-sdk-examples

Example applications that provide developers with the tools and knowledge to use Axis Camera Application Platform (ACAP) Computer Vision solution
Apache License 2.0
52 stars 22 forks source link

static-image.yml not up to date #127

Closed Corallo closed 1 year ago

Corallo commented 1 year ago

I did docker save axisecp/acap-runtime:1.2.0-aarch64-containerized | docker -H tcp://$DEVICE_IP:$DOCKER_PORT load and it worked. I now have another error while running the example program ; with accessing the shared library of acap runtime

docker-compose --host tcp://$DEVICE_IP:$DOCKER_PORT --file static-image.yml --env-file ./config/env.$ARCH.$CHIP up

gives following error :

WARNING: The INFERENCE_SERVER_COMMAND variable is not set. Defaulting to a blank string. Starting object-detector-python_object-detector-python_1 ... done Starting object-detector-python_inference-server_1 ... done Starting object-detector-python_acap_dl-models_1 ... done Attaching to object-detector-python_inference-server_1, object-detector-python_object-detector-python_1, object-detector-python_acap_dl-models_1 acap_dl-models_1 | COPYRIGHT acap_dl-models_1 | coco_labels.txt acap_dl-models_1 | ssd_mobilenet_v2_coco_quant_postprocess.tflite acap_dl-models_1 | ssd_mobilenet_v2_coco_quant_postprocess_edgetpu.tflite inference-server_1 | /opt/app/acap_runtime/acapruntime: error while loading shared libraries: liblarod.so.1: cannot open shared object file: No such file or directory object-detector-python_inference-server_1 exited with code 127 object-detector-python_acap_dl-models_1 exited with code 0 object-detector-python_1 | object-detector-python connect to: inference-server object-detector-python_1 | <_InactiveRpcError of RPC that terminated with: object-detector-python_1 | status = StatusCode.DEADLINE_EXCEEDED object-detector-python_1 | details = "Deadline Exceeded" object-detector-python_1 | debug_error_string = "{"created":"@1673593775.919770280","description":"Deadline Exceeded","file":"src/core/ext/filters/deadline/deadline_filter.cc","file_line":81,"grpc_status":4}"

Is it because of any access permission to the files ? Thank you in advance

Originally posted by @amararjun in https://github.com/AxisCommunications/acap-computer-vision-sdk-examples/discussions/124#discussioncomment-4675145