Skip to content

Commit 96ba19e

Browse files
Fix/links (#32)
* switch to dropbox * update setup and all links
1 parent 3429050 commit 96ba19e

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

docs/closed_set.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,8 @@ colcon test --packages-select semantic_inference
6161
### Models
6262

6363
Running dense 2D semantic segmentation requires obtaining a pre-trained model.
64-
Several pre-exported models live [here](https://drive.google.com/drive/folders/1GrmgFDFCssDxKe_Nyx8PPTK1pRMA0gEO?usp=sharing).
65-
By default, the code uses [this](https://drive.google.com/file/d/1XRcsyLSvqqhqNIaOI_vmqpUpmBT6gk9-/view?usp=drive_link) model.
66-
67-
> **Note** <br>
68-
> We recommend using models within the [dense2d](https://drive.google.com/drive/folders/17p_ZZIxI9jI_3GjjtbMijC2WFnc9Bz-a?usp=sharing) folder, which are named corresponding to the labelspace they output to.
69-
> The top-level models are deprecated as they do not follow this naming scheme (they all output to the ade20k label space).
64+
Several pre-exported models live [here](https://www.dropbox.com/scl/fo/zgi4nx6dqd4gme9qmkqzy/AHCxucEsOPLJOY2heJdS_jg?rlkey=4yj25cq6h0c6igch0r4kdcth1&st=cft0qilw&dl=0).
65+
By default, the code uses [this](https://www.dropbox.com/scl/fi/qtaqm3htsdjlnoyqjvrol/ade20k-efficientvit_seg_l2.onnx?rlkey=3evg4gfeybd0wie0gom8535zo&st=qoztrhiz&dl=0) model.
7066

7167
By default, the closed set node looks under the directory `$HOME/.semantic_inference` for models (this works on Linux or as long as `HOME` is set).
7268
It is possible to change this directory by specifying the `SEMANTIC_INFERENCE_MODEL_DIR` environment variable.

install/setup.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
function download_model() {
1616
if [[ ! -e $HOME/.semantic_inference/$1 ]]; then
1717
echo "Downloading '$1'..."
18-
pipx run gdown -q --fuzzy "$2" --output "$HOME"/.semantic_inference/"$1"
18+
wget "$2" -O "$HOME"/.semantic_inference/"$1"
1919
fi
2020
}
2121

@@ -63,7 +63,7 @@ fi
6363

6464
if [ "$MODELS" = true ]; then
6565
mkdir -p "$HOME"/.semantic_inference/
66-
download_model ade20k-efficientvit_seg_l2.onnx https://drive.google.com/file/d/1XRcsyLSvqqhqNIaOI_vmqpUpmBT6gk9-/view?usp=drive_link
67-
download_model ade20k-hrnetv2-c1.onnx https://drive.google.com/file/d/1vwTKs5g-xrY_2z_V3_TFnmqF0QYd24OM/view?usp=drive_link
68-
download_model ade20k-mobilenetv2dilated-c1_deepsup.onnx https://drive.google.com/file/d/1siTG4Pce9o6iRKtKYZDEPWsru4LwNclo/view?usp=drive_link
66+
download_model ade20k-efficientvit_seg_l2.onnx "https://www.dropbox.com/scl/fi/qtaqm3htsdjlnoyqjvrol/ade20k-efficientvit_seg_l2.onnx?rlkey=3evg4gfeybd0wie0gom8535zo&st=1ocu1vl7&dl=1"
67+
download_model ade20k-hrnetv2-c1.onnx "https://www.dropbox.com/scl/fi/6hvyfgtk1j0uqt1t7dal9/ade20k-hrnetv2-c1.onnx?rlkey=k009j60g556h9p79bdoxgskbx&st=sqz7sqyl&dl=1"
68+
download_model ade20k-mobilenetv2dilated-c1_deepsup.onnx "https://www.dropbox.com/scl/fi/dlcizojblgaq8dnhd94o4/ade20k-mobilenetv2dilated-c1_deepsup.onnx?rlkey=5m7tv9x8bt0gsg1q77tert9ic&st=ixu66280&dl=1"
6969
fi

0 commit comments

Comments
 (0)