-
Notifications
You must be signed in to change notification settings - Fork 270
/
requirements.txt
81 lines (65 loc) · 1.91 KB
/
requirements.txt
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/bin/bash
# (1) 在运行install.sh 文件之前,你应该先创建一个虚拟环境,我这里的虚拟环境名字为 ‘pytorch’,
# conda create -y -n pytorch python=3.8
# (2) 激活你的虚拟环境,然后在你的虚拟环境下运行install.sh 文件
# conda activate pytorch
echo ""
echo ""
echo "****************** Installing pytorch with cuda10 ******************"
# pytorch 版本建议你选择1.5以上版本, 我这里选择的是1.1低版本
conda install pytorch==1.7.0 cudatoolkit=10.0
echo ""
echo ""
echo "****************** Installing matplotlib 2.2.2 ******************"
conda install -y matplotlib
echo ""
echo ""
echo "****************** Installing pandas ******************"
conda install -y pandas
echo ""
echo ""
echo "****************** Installing opencv ******************"
pip install opencv-python
echo ""
echo ""
echo "****************** Installing tensorboardX ******************"
pip install tensorboardX
echo ""
echo ""
echo "****************** Installing cython ******************"
conda install cython
echo ""
echo ""
echo "****************** Installing yacs ******************"
pip install yacs
echo ""
echo ""
echo "****************** Installing skimage ******************"
pip install scikit-image
echo ""
echo ""
echo "****************** Installing pillow ******************"
pip install 'pillow<7.0.0'
echo ""
echo ""
echo "****************** Installing scipy ******************"
pip install scipy
echo ""
echo ""
echo "****************** Installing shapely ******************"
pip install shapely
echo ""
echo ""
echo "****************** Installing tqdm ******************"
pip install tqdm
echo ""
echo ""
echo "****************** Installing easydict ******************"
pip install easydict
echo ""
echo ""
echo "****************** Installing jpeg4py python wrapper ******************"
pip install jpeg4py
pip install mpi4py
pip install ray==0.8.7
pip install hyperopt