runTS.sh 382 B

12345678910111213
  1. #!/bin/bash
  2. python3 inference_webcam_ts.py \
  3. --model-type mattingrefine \
  4. --model-backbone mobilenetv2 \
  5. --model-backbone-scale 0.5 \
  6. --model-checkpoint model/TorchScript/torchscript_mobilenetv2_fp32.pth \
  7. --model-refine-mode 'thresholding' \
  8. --model-refine-threshold 0.75 \
  9. --model-refine-sample-pixels 20000 \
  10. --resolution 640 360 \
  11. --device-id 3
  12. #--hide-fps