cmdconda create -n pointcept python=3.8 -y conda activate pointcept conda install ninja -y # Choose version you want here: https://pytorch.org/get-started/previous-versions/ # We use CUDA 11.8 and PyTorch 2.1.0 for our development of PTv3 conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=11.8 -c pytorch -c nvidia conda install h5py pyyaml -c anaconda -y
cmdpip install torch-cluster -f https://data.pyg.org/whl/torch-2.1.0+cu118.html pip install torch_scatter torch_sparse -f https://pytorch-geometric.com/whl/torch-2.1.0%2Bcu118.html
服务器配置cuda 11.8
bashconda create -n pointcept python=3.8 -y
conda activate pointcept
conda install ninja -y
# Choose version you want here: https://pytorch.org/get-started/previous-versions/
# We use CUDA 11.8 and PyTorch 2.1.0 for our development of PTv3
conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=11.8 -c pytorch -c nvidia
conda install h5py pyyaml -c anaconda -y
conda install sharedarray tensorboard tensorboardx yapf addict einops scipy plyfile termcolor timm -c conda-forge -y
conda install pytorch-cluster pytorch-scatter pytorch-sparse -c pyg -y
pip install torch-geometric
cd libs/pointops
python setup.py install
cd ../..
# spconv (SparseUNet)
# refer https://github.com/traveller59/spconv
pip install spconv-cu118 # choose version match your local cuda version
# Open3D (visualization, optional)
pip install open3d