Closed peteruhrig closed 2 years ago
Thanks for this! After upgrading from a GTX 1660 to an RTX 3060, I was no longer able to run inference, with the process getting stuck at loading the pose model. With these changes, it works flawlessly.
detector/nms/src/nms_kernel.cu:5:10: fatal error: THC/THC.h: No such file or directory hello, how can I fix it?
This version works with the Ampere generation of Nvidia cards. Thanks to Thomas Zeiser from HPC Support at Friedrich-Alexander-Universität Erlangen-Nürnberg for the patch! It builds on top of PR 592 (https://github.com/MVIG-SJTU/AlphaPose/pull/592)
How to install
Prerequisites:
We are starting with Nvidia's docker container at
docker://nvidia/cuda:11.3.1-devel-ubuntu20.04
. You can also just use a regular Ubuntu 20.04 LTS and install CUDA 11.3.1 first.Step 1: Installing Tools and dependencies in Ubuntu:
Step 2: Installing Python dependencies:
Step 3: For some reason, the build script seems to be relying on the python command, so we need to create a symbolic link for it:
Step 4: Clone and build: