|
#!/bin/bash |
|
|
|
sudo apt install python3-pyqt5 -y |
|
sudo pip3 install labelme |
|
|
|
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 |
|
pip3 install cython pyyaml==6.0.1 |
|
pip3 install -U 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI' |
|
pip3 install jupyter |
|
pip3 install opencv-python |
|
pip3 install -U fvcore |
|
pip3 install nbclient==0.5.3 nbconvert==6.4.4 nbformat==5.3.0 |
|
pip3 install importlib-metadata==4.8.3 markdown==3.2 |
|
pip3 install scikit-image matplotlib imageio |
|
pip3 install black isort flake8 flake8-bugbear flake8-comprehensions |
|
pip3 install pickle5==0.0.11 |
|
pip3 install scikit-learn==0.22.2 |
|
pip3 install pandas |
|
pip3 install h5py |
|
pip3 install structlog |
|
pip3 install baal==1.3.2 pytorch-lightning==1.5.10 |
|
pip3 install transformers |
|
pip3 install datasets |
|
pip3 install onnx==1.8.1 |
|
pip3 install xmltodict |
|
pip3 install seaborn |
|
pip3 install statsmodels |
|
pip3 install cerberus |
|
pip3 install pillow==9.5.0 |
|
pip3 install darwin-py==0.7.26 |
|
pip3 install numpy==1.23.1 torch |
|
pip3 install opencv-python pip install opencv-contrib-python |
|
pip3 install tqdm cerberus fvcore torchvision |
|
pip3 install pycocotools==2.0.2 |
|
pip3 install detectron2==0.1.3 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.5/index.html |
|
pip3 install colorama |
|
pip3 install omegaconf==2.2 |
|
|
|
|
|
sed -i \ |
|
"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" \ |
|
~/.local/lib/python3.8/site-packages/baal/utils/log_configuration.py |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR=$(cd $(dirname $0); pwd) |
|
mkdir -p $SCRIPT_DIR/../maskal_ws/datasets |
|
mkdir -p $SCRIPT_DIR/../maskal_ws/results |
|
mkdir -p $SCRIPT_DIR/../maskal_ws/weights |
|
|