-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinstall.sh
32 lines (25 loc) · 947 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
conda create -n spotr -y python=3.7 numpy=1.20 numba
conda activate spotr
conda install -y pytorch=1.10.1 torchvision cudatoolkit=11.3 -c pytorch -c nvidia
conda install -c pyviz hvplot
pip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.1+cu113.html
pip install typing-extensions --upgrade
pip install -r requirements.txt
# install cpp extensions, the pointnet++ library
cd openpoints/cpp/pointnet2_batch
python setup.py install
cd ../
# grid_subsampling library. necessary only if interested in S3DIS_sphere
cd subsampling
python setup.py build_ext --inplace
cd ..
# # point transformer library. Necessary only if interested in Point Transformer and Stratified Transformer
cd pointops/
python setup.py install
cd ..
# Blow are functions that optional. Necessary only if interested in reconstruction tasks such as completion
cd chamfer_dist
python setup.py install --user
cd ../emd
python setup.py install --user
cd ../../../