Add support for generic XSeg (#65)

* Add generic XSeg
This commit is contained in:
githubcatw
2022-10-12 10:48:58 +03:00
committed by GitHub
parent 3f860b0be4
commit 65ca4c8ba5
3 changed files with 18 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
source env.sh
wget https://github.com/githubcatw/DeepFaceLab_Linux/releases/download/xseg/model_generic_xseg.zip
unzip -q model_generic_xseg.zip -d "$DFL_SRC"
rm model_generic_xseg.zip
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
source env.sh
$DFL_PYTHON "$DFL_SRC/main.py" xseg apply \
--input-dir "$DFL_WORKSPACE/data_dst/aligned" \
--model-dir "$DFL_SRC/model_generic_xseg"
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
source env.sh
$DFL_PYTHON "$DFL_SRC/main.py" xseg apply \
--input-dir "$DFL_WORKSPACE/data_src/aligned" \
--model-dir "$DFL_SRC/model_generic_xseg"