Commit
·
f43e272
1
Parent(s):
10d700b
Fix installation
Browse files- setup/install_maskal.sh +16 -12
setup/install_maskal.sh
CHANGED
@@ -6,7 +6,7 @@ pip3 install --user torch==1.10.1+cu111 torchvision==0.11.2+cu111 torchaudio===0
|
|
6 |
pip3 install cython pyyaml==6.0.1
|
7 |
pip3 install jupyter
|
8 |
pip3 install opencv-python
|
9 |
-
pip3 install -U fvcore
|
10 |
pip3 install nbclient==0.5.3 nbconvert==6.4.4 nbformat==5.3.0
|
11 |
pip3 install importlib-metadata==4.8.3 markdown==3.2
|
12 |
pip3 install scikit-image matplotlib imageio
|
@@ -18,7 +18,6 @@ pip3 install h5py
|
|
18 |
pip3 install structlog
|
19 |
pip3 install baal==1.3.2 pytorch-lightning==1.5.10
|
20 |
pip3 install transformers
|
21 |
-
pip3 install datasets
|
22 |
pip3 install onnx==1.8.1
|
23 |
pip3 install xmltodict
|
24 |
pip3 install seaborn
|
@@ -32,23 +31,28 @@ pip3 install tqdm cerberus fvcore torchvision
|
|
32 |
pip3 install pycocotools==2.0.2
|
33 |
pip3 install colorama
|
34 |
pip3 install omegaconf==2.2
|
35 |
-
|
36 |
-
pip3 install -
|
37 |
-
|
38 |
-
# pip3 install labelme
|
39 |
-
# pip3 install git+https://github.com/labelmeai/labelme.git
|
40 |
-
pip3 install git+ssh://[email protected]/nyxrobotics/labelme.git@feature/wacom
|
41 |
|
42 |
### Fix baal bug
|
43 |
sed -i \
|
44 |
"s@from structlog.dev import ConsoleRenderer, _has_colorama@from structlog.dev import ConsoleRenderer\ntry:\n import colorama\n _has_colorama = True\nexcept ImportError:\n _has_colorama = False@g" \
|
45 |
~/.local/lib/python3.8/site-packages/baal/utils/log_configuration.py
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
### Install maskal
|
48 |
-
|
49 |
-
# git clone [email protected]:pieterblok/maskal.git
|
50 |
-
# cd maskal
|
51 |
-
# pip3 install -e .
|
52 |
|
53 |
### Install anaconda
|
54 |
# sudo apt install -y curl;
|
|
|
6 |
pip3 install cython pyyaml==6.0.1
|
7 |
pip3 install jupyter
|
8 |
pip3 install opencv-python
|
9 |
+
pip3 install -U fvcore==0.1.4
|
10 |
pip3 install nbclient==0.5.3 nbconvert==6.4.4 nbformat==5.3.0
|
11 |
pip3 install importlib-metadata==4.8.3 markdown==3.2
|
12 |
pip3 install scikit-image matplotlib imageio
|
|
|
18 |
pip3 install structlog
|
19 |
pip3 install baal==1.3.2 pytorch-lightning==1.5.10
|
20 |
pip3 install transformers
|
|
|
21 |
pip3 install onnx==1.8.1
|
22 |
pip3 install xmltodict
|
23 |
pip3 install seaborn
|
|
|
31 |
pip3 install pycocotools==2.0.2
|
32 |
pip3 install colorama
|
33 |
pip3 install omegaconf==2.2
|
34 |
+
### Install detectron2
|
35 |
+
# pip3 install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.5/index.html
|
36 |
+
pip3 install git+ssh://[email protected]/facebookresearch/[email protected]
|
|
|
|
|
|
|
37 |
|
38 |
### Fix baal bug
|
39 |
sed -i \
|
40 |
"s@from structlog.dev import ConsoleRenderer, _has_colorama@from structlog.dev import ConsoleRenderer\ntry:\n import colorama\n _has_colorama = True\nexcept ImportError:\n _has_colorama = False@g" \
|
41 |
~/.local/lib/python3.8/site-packages/baal/utils/log_configuration.py
|
42 |
|
43 |
+
### Install git-lfs
|
44 |
+
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
|
45 |
+
sudo apt install git-lfs
|
46 |
+
git lfs install
|
47 |
+
|
48 |
+
### Install cocoapi
|
49 |
+
pip3 install -U 'git+ssh://[email protected]/cocodataset/cocoapi.git#subdirectory=PythonAPI'
|
50 |
+
|
51 |
+
### Install labelme
|
52 |
+
pip3 install git+ssh://[email protected]/nyxrobotics/labelme.git@feature/wacom
|
53 |
+
|
54 |
### Install maskal
|
55 |
+
pip3 install git+ssh://[email protected]/nyxrobotics/maskal.git@feature/fix_bug
|
|
|
|
|
|
|
56 |
|
57 |
### Install anaconda
|
58 |
# sudo apt install -y curl;
|