megvii-research / Iter-E2EDET

Official implementation of the paper "Progressive End-to-End Object Detection in Crowded Scenes"
MIT License
89 stars 8 forks source link

GPG error #18

Open tancele opened 2 years ago

tancele commented 2 years ago

Hello, first of all thank you for this great work, I'm using Docker version 20.10.17, build 100c701 I'm trying to use the container by running : docker build --build-arg USER_ID=$UID -t detectron2:v0 .

But I get the following error :

W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is not signed.

The command '/bin/sh -c apt-get update && apt-get install -y python3-opencv ca-certificates python3-dev git wget sudo cmake ninja-build protobuf-compiler libprotobuf-dev && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

Any idea on how to solve it please ? Thank you !!

yexiguafuqihao commented 2 years ago

Sorry, we have no experience with docker deployment. Our development environment is Ubuntu.

rydenisbak commented 2 years ago
RUN \
    rm /etc/apt/sources.list.d/cuda.list && \
    rm /etc/apt/sources.list.d/nvidia-ml.list && \
    apt-key del 7fa2af80 && \
    apt-get update && apt-get install -y --no-install-recommends wget && \
    wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb && \
    dpkg -i cuda-keyring_1.0-1_all.deb && \
    apt-get update

add this lines in top of Dockerfile