- #!/bin/bash
- python3 inference_webcam_ts.py \
- --model-type mattingrefine \
- --model-backbone mobilenetv2 \
- --model-backbone-scale 0.5 \
- --model-checkpoint model/TorchScript/torchscript_mobilenetv2_fp32.pth \
- --model-refine-mode 'thresholding' \
- --model-refine-threshold 0.75 \
- --model-refine-sample-pixels 20000 \
- --resolution 640 360 \
- --device-id 3
- #--hide-fps
|