run.sh 319 B

1234567891011
  1. #!/bin/bash
  2. python3 inference_webcam.py \
  3. --model-type mattingrefine \
  4. --model-backbone resnet101 \
  5. --model-backbone-scale 0.5 \
  6. --model-checkpoint model/PyTorch/pytorch_resnet101.pth \
  7. --model-refine-mode 'thresholding' \
  8. --model-refine-threshold 0.7 \
  9. --model-refine-sample-pixels 20000 \
  10. --hide-fps