How to build onnx/onnx for your ARMv7l devices
microsoft/onnxruntime provides build instruction for ARMv7l python wheel which requires onnx/onnx. But it doesn’t provide binary package nor build instruction for ARMv7l. So I’ve written a dockerfile to build onnx/onnx python wheel. Build instruction 1. Create a build directory mkdir build-onnx cd build-onnx 2. Save the dockerfile on into the build directory Dockerfile.arm32v7 FROM balenalib/raspberrypi3-python:latest-stretch-build ARG REPO_URL=https://github.com/onnx/onnx ARG BRANCH=master #Enforces cross-compilation through Qemu RUN [ "cross-build-start" ] RUN install_packages \\ sudo \\ build-essential \\ cmake \\ git \\ python3 \\ python3-pip \\ python3-dev \\ libprotoc-dev \\ protobuf-compiler RUN pip3 install --upgrade pip setuptools wheel RUN pip3 install numpy # Prepare onnx Repo WORKDIR /code RUN git clone --single-branch --branch ${BRANCH} --recursive ${REPO_URL} onnx # Start the basic build WORKDIR /code/onnx RUN python3 setup....