-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_env.sh
More file actions
executable file
·53 lines (31 loc) · 1002 Bytes
/
setup_env.sh
File metadata and controls
executable file
·53 lines (31 loc) · 1002 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
echo "setup environement"
conda --version
conda create -y -n ActiveImageLabeler
conda activate ActiveImageLabeler
# conda install -y python
conda install -y pylint pep8 flake8 yapf lxml pandas
conda install -y opencv -c menpo
conda install -y ipython
pip install ninja yacs cython matplotlib tqdm opencv-python --user
# conda install -c pytorch pytorch-nightly torchvision cudatoolkit=9.0
# This worked for me
conda install -c pytorch pytorch-nightly torchvision=0.2.2 cudatoolkit=10.0
pip install PyQt5
pip install pyinstaller
export INSTALL_DIR=$PWD
# install pycocotools
cd $INSTALL_DIR
git clone https://github.com/cocodataset/cocoapi.git
cd cocoapi/PythonAPI
python setup.py build_ext install
# install apex
cd $INSTALL_DIR
git clone https://github.com/NVIDIA/apex.git
cd apex
python setup.py install --cuda_ext --cpp_ext
cd $INSTALL_DIR
git clone https://github.com/meryusha/seeds_faster.git
cd seeds_faster
python setup.py build develop
cd $INSTALL_DIR
unset INSTALL_DIR