File size: 359 Bytes
f7009b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

source /path/to/miniconda3/bin/activate /path/to/miniconda3/envs/environment

python ./convert.py "$1"

PYTHONPATH=/path/to/Segmentation:$PYTHONPATH \
    python /path/to/Segmentation/tools/test.py \
    /path/to/Segmentation/configs/beit/upernet/our_vit.py \
    "$1" \
    --launcher none \
    --eval "mIoU"

python ./reverse.py "$1"