Add missing XSeg scripts (#76)

This commit was merged in pull request #76.
This commit is contained in:
Oleksandr Chychkan
2022-02-22 20:51:26 -08:00
committed by GitHub
parent a3ab8d8b63
commit a1c6ebd2c6
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