4
4
# - NPROC
5
5
#
6
6
TENSORFLOW_VER=" 2.8.2"
7
- TORCH_GLNX_VER=" 1.12.0 +cpu"
7
+ TORCH_GLNX_VER=" 1.13.1 +cpu"
8
8
# OPENVINO_DEV_VER="2021.4.2" # Numpy version conflict with TF 2.8.2
9
9
PIP_VER=" 21.1.1"
10
- WHEEL_VER=" 0.37.1 "
11
- STOOLS_VER=" 50 .3.2"
10
+ WHEEL_VER=" 0.38.4 "
11
+ STOOLS_VER=" 67 .3.2"
12
12
YAPF_VER=" 0.30.0"
13
13
PYTEST_VER=" 7.1.2"
14
14
PYTEST_RANDOMLY_VER=" 3.8.0"
@@ -21,11 +21,11 @@ export PATH_TO_OPEN3D_ML=$(pwd)
21
21
# the build system of the main repo expects a master branch. make sure master exists
22
22
git checkout -b master || true
23
23
python -m pip install -U pip==$PIP_VER \
24
- wheel==" $WHEEL_VER " \
25
- setuptools==" $STOOLS_VER " \
26
- yapf==" $YAPF_VER " \
27
- pytest==" $PYTEST_VER " \
28
- pytest-randomly==" $PYTEST_RANDOMLY_VER "
24
+ wheel==" $WHEEL_VER " \
25
+ setuptools==" $STOOLS_VER " \
26
+ yapf==" $YAPF_VER " \
27
+ pytest==" $PYTEST_VER " \
28
+ pytest-randomly==" $PYTEST_RANDOMLY_VER "
29
29
30
30
python -m pip install -r requirements.txt
31
31
echo $PATH_TO_OPEN3D_ML
@@ -38,24 +38,24 @@ git clone --recursive --branch master https://github.com/isl-org/Open3D.git
38
38
39
39
./Open3D/util/install_deps_ubuntu.sh assume-yes
40
40
python -m pip install -U tensorflow-cpu==$TENSORFLOW_VER \
41
- torch==${TORCH_GLNX_VER} --extra-index-url https://download.pytorch.org/whl/cpu/
41
+ torch==${TORCH_GLNX_VER} --extra-index-url https://download.pytorch.org/whl/cpu/
42
42
# openvino-dev=="$OPENVINO_DEV_VER"
43
43
44
44
echo 3. Configure for bundling the Open3D-ML part
45
45
echo
46
46
mkdir Open3D/build
47
47
pushd Open3D/build
48
48
cmake -DBUNDLE_OPEN3D_ML=ON \
49
- -DOPEN3D_ML_ROOT=$PATH_TO_OPEN3D_ML \
50
- -DGLIBCXX_USE_CXX11_ABI=OFF \
51
- -DBUILD_TENSORFLOW_OPS=ON \
52
- -DBUILD_PYTORCH_OPS=ON \
53
- -DBUILD_GUI=OFF \
54
- -DBUILD_RPC_INTERFACE=OFF \
55
- -DBUILD_UNIT_TESTS=OFF \
56
- -DBUILD_BENCHMARKS=OFF \
57
- -DBUILD_EXAMPLES=OFF \
58
- ..
49
+ -DOPEN3D_ML_ROOT=$PATH_TO_OPEN3D_ML \
50
+ -DGLIBCXX_USE_CXX11_ABI=OFF \
51
+ -DBUILD_TENSORFLOW_OPS=ON \
52
+ -DBUILD_PYTORCH_OPS=ON \
53
+ -DBUILD_GUI=OFF \
54
+ -DBUILD_RPC_INTERFACE=OFF \
55
+ -DBUILD_UNIT_TESTS=OFF \
56
+ -DBUILD_BENCHMARKS=OFF \
57
+ -DBUILD_EXAMPLES=OFF \
58
+ ..
59
59
60
60
echo 4. Build and install wheel
61
61
echo
0 commit comments