Skip to content

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

Open
@jamesnulliu

Description

@jamesnulliu
  • 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 [email protected]:bmmtstb/HalpeCOCOAPI.git HalpeCOCOAPI
# Install
cd HalpeCOCOAPI/PythonAPI && python setup.py build develop

Clone the repo and install AlphaPose:

# Clone the repo
git clone [email protected]: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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions