Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Succeeded in Building AlphaPose [py 3.10, pt 1.12, cuda 11.3] [ubuntu 22.04] #1206

Open
jamesnulliu opened this issue Mar 23, 2024 · 1 comment

Comments

@jamesnulliu
Copy link

  • Ubuntu 22.04
  • CUDA 11.3
# Create virtual env
conda create -n alphapose python=3.10 -y && conda activate alphapose
# Install pytorch 1.12.0 with cuda 11.3
pip install torch==1.12.0+cu113 torchvision==0.13.0+cu113 torchaudio==0.12.0 --extra-index-url https://download.pytorch.org/whl/cu113

Since there is a bug in HapleCOCOAPI, it has to be installed with following commands:

# HalpeCOCOAPI 
git clone -b patch-import-path --single-branch git@github.com:bmmtstb/HalpeCOCOAPI.git HalpeCOCOAPI
# Install
cd HalpeCOCOAPI/PythonAPI && python setup.py build develop

Clone the repo and install AlphaPose:

# Clone the repo
git clone git@github.com:MVIG-SJTU/AlphaPose.git AlphaPose && cd AlphaPose
# Install
pip install cython matplotlib cython_bbox numpy scipy easydict opencv-python pycocotools pyyaml tensorboardx terminaltables tqdm visdom
CC=gcc-9 CXX=g++-9 python setup.py build develop
@jamesnulliu jamesnulliu changed the title Succeeded in Building AlphaPose [python 3.10, pytorch 1.12.0, cuda 11.3] [ubuntu 22.04] Succeeded in Building AlphaPose [py 3.10, pt 1.12, cuda 11.3] [ubuntu 22.04] Mar 23, 2024
@ChataingT
Copy link

Thanks for the help.
Here is my working docker published : tchataing/alphapose
and its dockerfile https://github.com/ChataingT/alphapose_docker.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants