mirror of https://github.com/ZHKKKe/MODNet.git
|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| __init__.py | ||
| export_torchscript.py | ||
| modnet_torchscript.py | ||
README.md
Usage:
python export_torchscript.py \
--ckpt-path pretrained/modnet_photographic_portrait_matting.ckpt\
--out-dir scripted_model
Official TorchScript model:
BaiduCloudDisk, extract_code=dm9e