ifzhang / ByteTrack

[ECCV 2022] ByteTrack: Multi-Object Tracking by Associating Every Detection Box
MIT License
4.8k stars 906 forks source link

Can't build docker container on Jetson Xavier AGX #162

Open callmesora opened 2 years ago

callmesora commented 2 years ago

I've tried to build it from source but keep getting errors while installing requirements.txt So I tried the docker aproach and I get this error

---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in e9d5e7304b24 standard_init_linux.go:228: exec user process caused: exec format error

Here is the entire output for refference sudo docker build -t bytetrack:latest .Sending build context to Docker daemon 148MB Step 1/11 : FROM nvcr.io/nvidia/tensorrt:21.09-py3 ---> 51759e7af62e Step 2/11 : ENV DEBIAN_FRONTEND=noninteractive ---> Using cache ---> 0961378e3a28 Step 3/11 : ARG USERNAME=user ---> Using cache ---> e8c80f1deecf Step 4/11 : ARG WORKDIR=/workspace/ByteTrack ---> Using cache ---> 19f679136a0e Step 5/11 : RUN apt-get update && apt-get install -y automake autoconf libpng-dev nano python3-pip curl zip unzip libtool swig zlib1g-dev pkg-config python3-mock libpython3-dev libpython3-all-dev g++ gcc cmake make pciutils cpio gosu wget libgtk-3-dev libxtst-dev sudo apt-transport-https build-essential gnupg git xz-utils vim libva-drm2 libva-x11-2 vainfo libva-wayland2 libva-glx2 libva-dev libdrm-dev xorg xorg-dev protobuf-compiler openbox libx11-dev libgl1-mesa-glx libgl1-mesa-dev libtbb2 libtbb-dev libopenblas-dev libopenmpi-dev && sed -i 's/# set linenumbers/set linenumbers/g' /etc/nanorc && apt clean && rm -rf /var/lib/apt/lists/ ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in 80fbaf18471a standard_init_linux.go:228: exec user process caused: exec format error The command '/bin/sh -c apt-get update && apt-get install -y automake autoconf libpng-dev nano python3-pip curl zip unzip libtool swig zlib1g-dev pkg-config python3-mock libpython3-dev libpython3-all-dev g++ gcc cmake make pciutils cpio gosu wget libgtk-3-dev libxtst-dev sudo apt-transport-https build-essential gnupg git xz-utils vim libva-drm2 libva-x11-2 vainfo libva-wayland2 libva-glx2 libva-dev libdrm-dev xorg xorg-dev protobuf-compiler openbox libx11-dev libgl1-mesa-glx libgl1-mesa-dev libtbb2 libtbb-dev libopenblas-dev libopenmpi-dev && sed -i 's/# set linenumbers/set linenumbers/g' /etc/nanorc && apt clean && rm -rf /var/lib/apt/lists/' returned a non-zero code: 1 `