-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.sh
18 lines (14 loc) · 1 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
conda create --name robust-bdd python=3.7
conda init bash
conda activate robust-bdd
pip3 install --upgrade pip
pip3 install numpy==1.19.0
pip3 install torch==1.5.0 torchvision==0.6.0 torchcontrib==0.0.2
pip3 install matplotlib==3.2.2 tqdm Pillow shapely==1.7.0 opencv-python==4.2.0.34 pandas==1.0.5 scikit-learn==0.23.1 imgaug==0.4.0 imantics==0.1.12 scipy==1.5.0 scikit-image==0.17.2 yacs
pip3 install --upgrade setuptools
python twostream-resnet50/utils/make_dataset.py --data-folder $1/train/ --output-folder $1/resize256/ --mode manymulti --cutwidth 256 --resizewidth 256
python twostream-resnet50/utils/make_dataset.py --data-folder $1/tier3/ --output-folder $1/resize256_3/ --mode manymulti --cutwidth 256 --resizewidth 256
python twostream-resnet50/utils/make_dataset.py --data-folder $1/test/ --output-folder $1/test256/ --mode manymulti --cutwidth 256 --resizewidth 256
python twostream-resnet50/utils/make_dataset.py --data-folder $1/hold/ --output-folder $1/hold/all/ --mode nocut
conda deactivate