ai-toolkit-iot-edge icon indicating copy to clipboard operation
ai-toolkit-iot-edge copied to clipboard

Is it possible to change image to arm32/v7

Open mleister97 opened this issue 3 years ago • 0 comments

Hey, as I am running the ML python script on a Raspberry Pi I would need to use an arm32/v7 image.

Sadly, the following change

image_config = ContainerImage.image_configuration(runtime= "python",
                                 execution_script="iot_score.py",
                                 conda_file="myenv.yml",
                                 tags = {'area': "iot", 'type': "classification"},
                                 description = "IOT Edge anomaly detection demo",
                                 base_image="docker.io/arm32v7/python:alpine" # added
                                 )

returns error messages like this:

Step 6/22 : RUN cp -r /var/licenses/* /
 ---> [Warning] The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 61389f03f636
Removing intermediate container 61389f03f636
 ---> 8477ab23a627
Step 7/22 : RUN /var/requirements/install_system_requirements.sh
 ---> [Warning] The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in c82a90b42c80
[91m/bin/sh: [0m[91m/var/requirements/install_system_requirements.sh: not found[0m[91m
[0mThe command '/bin/sh -c /var/requirements/install_system_requirements.sh' returned a non-zero code: 127
2021/05/12 10:49:46 Container failed during run: acb_step_0. No retries remaining.
failed to run step ID: acb_step_0: exit status 127

Run ID: cbe failed after 20s. Error: failed during run, err: exit status 1

Any ideas?

mleister97 avatar May 12 '21 11:05 mleister97