Commit
·
7fbd0fa
1
Parent(s):
f43e272
Edit comments
Browse files- setup/install_maskal.sh +5 -6
setup/install_maskal.sh
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
#!/bin/bash
|
2 |
-
### Install
|
3 |
sudo apt install python3-pyqt5 -y
|
|
|
|
|
|
|
|
|
4 |
### Install required
|
5 |
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
|
6 |
pip3 install cython pyyaml==6.0.1
|
@@ -40,11 +44,6 @@ 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 |
|
|
|
1 |
#!/bin/bash
|
2 |
+
### Install apt packages
|
3 |
sudo apt install python3-pyqt5 -y
|
4 |
+
### Install git-lfs
|
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 |
### Install required
|
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
|
|
|
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 cocoapi
|
48 |
pip3 install -U 'git+ssh://[email protected]/cocodataset/cocoapi.git#subdirectory=PythonAPI'
|
49 |
|