Commit
·
75b93ea
1
Parent(s):
7fbd0fa
Refactoring
Browse files- setup/install_maskal.sh +16 -37
setup/install_maskal.sh
CHANGED
@@ -1,42 +1,30 @@
|
|
1 |
#!/bin/bash
|
|
|
2 |
### Install apt packages
|
3 |
-
sudo apt
|
4 |
-
|
|
|
|
|
5 |
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
|
6 |
-
sudo apt install git-lfs
|
7 |
git lfs install
|
8 |
-
|
|
|
9 |
pip3 install --user torch==1.10.1+cu111 torchvision==0.11.2+cu111 torchaudio===0.10.1 -f https://download.pytorch.org/whl/torch_stable.html
|
10 |
-
pip3 install cython pyyaml==6.0.1
|
11 |
-
pip3 install jupyter
|
12 |
-
pip3 install opencv-python
|
13 |
pip3 install -U fvcore==0.1.4
|
14 |
pip3 install nbclient==0.5.3 nbconvert==6.4.4 nbformat==5.3.0
|
15 |
-
pip3 install importlib-metadata==4.8.3 markdown==3.2
|
16 |
-
pip3 install scikit-image matplotlib imageio
|
17 |
pip3 install black isort flake8 flake8-bugbear flake8-comprehensions
|
18 |
-
pip3 install pickle5==0.0.11
|
19 |
-
pip3 install
|
20 |
-
pip3 install
|
21 |
-
pip3 install h5py
|
22 |
-
pip3 install structlog
|
23 |
-
pip3 install baal==1.3.2 pytorch-lightning==1.5.10
|
24 |
-
pip3 install transformers
|
25 |
-
pip3 install onnx==1.8.1
|
26 |
-
pip3 install xmltodict
|
27 |
-
pip3 install seaborn
|
28 |
-
pip3 install statsmodels
|
29 |
-
pip3 install cerberus
|
30 |
-
pip3 install darwin-py
|
31 |
pip3 install multiprocess==0.70.12.2 pathos==0.2.8 dill==0.3.6 datasets==2.13.0 numpy==1.21.6
|
32 |
pip3 install pyyaml torch
|
33 |
-
pip3 install opencv-python
|
34 |
-
pip3 install
|
35 |
-
|
36 |
-
pip3 install colorama
|
37 |
-
pip3 install omegaconf==2.2
|
38 |
### Install detectron2
|
39 |
-
# pip3 install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.5/index.html
|
40 |
pip3 install git+ssh://[email protected]/facebookresearch/[email protected]
|
41 |
|
42 |
### Fix baal bug
|
@@ -53,15 +41,6 @@ pip3 install git+ssh://[email protected]/nyxrobotics/labelme.git@feature/wacom
|
|
53 |
### Install maskal
|
54 |
pip3 install git+ssh://[email protected]/nyxrobotics/maskal.git@feature/fix_bug
|
55 |
|
56 |
-
### Install anaconda
|
57 |
-
# sudo apt install -y curl;
|
58 |
-
# mkdir -p ~/lib/anaconda_installation;
|
59 |
-
# cd ~/lib/anaconda_installation;
|
60 |
-
# curl -O https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh;
|
61 |
-
# chmod +x Anaconda3-5.2.0-Linux-x86_64.sh;
|
62 |
-
# ./Anaconda3-5.2.0-Linux-x86_64.sh;
|
63 |
-
# conda create --name maskAL python=3.6 pip
|
64 |
-
|
65 |
### Prepare Workspace
|
66 |
SCRIPT_DIR=$(cd $(dirname $0); pwd)
|
67 |
mkdir -p $SCRIPT_DIR/../maskal_ws/datasets
|
|
|
1 |
#!/bin/bash
|
2 |
+
|
3 |
### Install apt packages
|
4 |
+
sudo apt update
|
5 |
+
sudo apt install -y python3-pyqt5 curl
|
6 |
+
|
7 |
+
### Install git-lfs
|
8 |
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
|
9 |
+
sudo apt install -y git-lfs
|
10 |
git lfs install
|
11 |
+
|
12 |
+
### Install Python packages
|
13 |
pip3 install --user torch==1.10.1+cu111 torchvision==0.11.2+cu111 torchaudio===0.10.1 -f https://download.pytorch.org/whl/torch_stable.html
|
14 |
+
pip3 install cython pyyaml==6.0.1 jupyter opencv-python
|
|
|
|
|
15 |
pip3 install -U fvcore==0.1.4
|
16 |
pip3 install nbclient==0.5.3 nbconvert==6.4.4 nbformat==5.3.0
|
17 |
+
pip3 install importlib-metadata==4.8.3 markdown==3.2 scikit-image matplotlib imageio
|
|
|
18 |
pip3 install black isort flake8 flake8-bugbear flake8-comprehensions
|
19 |
+
pip3 install pickle5==0.0.11 scikit-learn==0.22.2 pandas h5py structlog
|
20 |
+
pip3 install baal==1.3.2 pytorch-lightning==1.5.10 transformers onnx==1.8.1 xmltodict
|
21 |
+
pip3 install seaborn statsmodels cerberus darwin-py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
pip3 install multiprocess==0.70.12.2 pathos==0.2.8 dill==0.3.6 datasets==2.13.0 numpy==1.21.6
|
23 |
pip3 install pyyaml torch
|
24 |
+
pip3 install opencv-python opencv-contrib-python tqdm cerberus fvcore torchvision
|
25 |
+
pip3 install pycocotools==2.0.2 colorama omegaconf==2.1.0.dev22
|
26 |
+
|
|
|
|
|
27 |
### Install detectron2
|
|
|
28 |
pip3 install git+ssh://[email protected]/facebookresearch/[email protected]
|
29 |
|
30 |
### Fix baal bug
|
|
|
41 |
### Install maskal
|
42 |
pip3 install git+ssh://[email protected]/nyxrobotics/maskal.git@feature/fix_bug
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
### Prepare Workspace
|
45 |
SCRIPT_DIR=$(cd $(dirname $0); pwd)
|
46 |
mkdir -p $SCRIPT_DIR/../maskal_ws/datasets
|