ViTAE-Transformer / ViTPose

The official repo for [NeurIPS'22] "ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation" and [TPAMI'23] "ViTPose++: Vision Transformer for Generic Body Pose Estimation"
Apache License 2.0
1.39k stars 187 forks source link

docker build doesn't work #102

Open oliverdain opened 1 year ago

oliverdain commented 1 year ago

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
ghost commented 1 year ago

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?

Obafemi-Jinadu commented 2 months ago

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?