-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathinstall.sh
More file actions
29 lines (25 loc) · 740 Bytes
/
install.sh
File metadata and controls
29 lines (25 loc) · 740 Bytes
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
#!/bin/bash
# # this installs the right pip and dependencies for the fresh python
conda install ipython pip
conda install python=3.7
# maskrcnn_benchmark and coco api dependencies
pip install ninja yacs cython matplotlib tqdm opencv-python h5py lmdb
# install pytorch
conda install -c pytorch pytorch-nightly=1.0.0 torchvision=0.2.2
pip install 'pillow<7.0.0'
# install pycocotools
cd ..
git clone https://github.com/cocodataset/cocoapi.git
cd cocoapi/PythonAPI
python setup.py build_ext install
# install apex
cd ..
cd ..
git clone https://github.com/NVIDIA/apex.git
cd apex
git checkout f3a960f80244cf9e80558ab30f7f7e8cbf03c0a0
python setup.py install --cuda_ext --cpp_ext
cd ..
# install VC
cd VC-R-CNN
python setup.py build develop