Git项目 Building/installing from source

1. Install from GitHub

pip install "git+https://github.com/facebookresearch/pytorch3d.git"

2. Install from a local clone

git clone https://github.com/facebookresearch/pytorch3d.git

cd pytorch3d && pip install -e .

rebuild项目

rm -rf build/ **/*.so
pip install -e ..

你可能感兴趣的:(git)