瀏覽代碼

add run script

subDesTagesMitExtraKaese 4 年之前
父節點
當前提交
d51f89b7e9
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      run.sh

+ 11 - 0
run.sh

@@ -0,0 +1,11 @@
+#!/bin/bash
+
+python3 inference_webcam.py \
+  --model-type mattingrefine \
+  --model-backbone resnet101 \
+  --model-backbone-scale 0.5 \
+  --model-checkpoint model/PyTorch/pytorch_resnet101.pth \
+  --model-refine-mode 'thresholding' \
+  --model-refine-threshold 0.7 \
+  --model-refine-sample-pixels 20000 \
+  --hide-fps