ViTPose icon indicating copy to clipboard operation
ViTPose copied to clipboard

docker build doesn't work

Open oliverdain opened this issue 1 year ago • 2 comments

If you try to build the Docker container you get an error:

Reading package lists...                                                                                                                                                                                                                    
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.     

It turns out Nvidia changed the signing keys for their apt repo.

Adding the following to the Dockerfile before the RUN apt-get update line fixes it:

RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub

oliverdain avatar May 26 '23 22:05 oliverdain

I used NGC 21.06 docker and I also running into error. My error is about cv2 AttributeError: partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' do anyone getting same issues?

ghost avatar Dec 01 '23 14:12 ghost

I'm facing something similar. For me, I think it's because I'm running it on a server environment, and 'opencv-python-headless' is what is typically used but mmcv and mmpose require 'opencv-python'. Have you been able to resolve it?

Obafemi-Jinadu avatar Sep 08 '24 01:09 Obafemi-Jinadu