forked from DeepMotionAIResearch/DenseMatchingBenchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.sh
executable file
·54 lines (38 loc) · 1.18 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env bash
if [[ $1 == 'spn' || $1 == 'all' ]]
then
cd dmb/ops/spn/
python setup.py clean
rm -rf build
rm -r dist
rm -r *.egg-info
if [[ $2 == 'install' ]]
then
python setup.py install
else
python setup.py build develop
fi
cd ../../../
echo "*********************************************************************"
echo " SPN installed!"
echo "*********************************************************************"
fi
if [[ $1 == 'dmb' || $1 == 'all' ]]
then
python setup.py clean
rm -r build
rm -r dist
rm -r *.egg-info
if [[ $2 == 'install' ]]
then
python setup.py install
else
python setup.py build develop
fi
echo "*********************************************************************"
echo " dmb installed!"
echo "*********************************************************************"
fi
echo "*********************************************************************"
echo " Dense Matching Benchmark Installed!"
echo "*********************************************************************"