Add missing XSeg scripts #76

Merged
chychkan merged 1 commits from add-xseg-scripts into master 2022-02-23 05:51:26 +01:00
11 changed files with 71 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg editor \
--input-dir "$WORKSPACE/data_dst/aligned"
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg fetch \
--input-dir "$WORKSPACE/data_dst/aligned"
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg remove_labels \
--input-dir "$WORKSPACE/data_dst/aligned"
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg apply \
--input-dir "$WORKSPACE/data_dst/aligned" \
--model-dir "$WORKSPACE/model"
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg remove \
--input-dir "$WORKSPACE/data_dst/aligned"
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg editor \
--input-dir "$WORKSPACE/data_src/aligned"
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg fetch \
--input-dir "$WORKSPACE/data_src/aligned"
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg remove_labels \
--input-dir "$WORKSPACE/data_src/aligned"
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg apply \
--input-dir "$WORKSPACE/data_src/aligned" \
--model-dir "$WORKSPACE/model"
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" xseg remove \
--input-dir "$WORKSPACE/data_src/aligned"
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
source scripts/env.sh
python "$DFL_MAIN" train \
--training-data-src-dir "$WORKSPACE/data_src/aligned" \
--training-data-dst-dir "$WORKSPACE/data_dst/aligned" \
--model-dir "$WORKSPACE/model" \
--model XSeg