Skip to content

Commit a1c6ebd

Browse files
authored
Add missing XSeg scripts (#76)
1 parent a3ab8d8 commit a1c6ebd

11 files changed

+71
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg editor \
6+
--input-dir "$WORKSPACE/data_dst/aligned"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg fetch \
6+
--input-dir "$WORKSPACE/data_dst/aligned"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg remove_labels \
6+
--input-dir "$WORKSPACE/data_dst/aligned"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg apply \
6+
--input-dir "$WORKSPACE/data_dst/aligned" \
7+
--model-dir "$WORKSPACE/model"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg remove \
6+
--input-dir "$WORKSPACE/data_dst/aligned"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg editor \
6+
--input-dir "$WORKSPACE/data_src/aligned"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg fetch \
6+
--input-dir "$WORKSPACE/data_src/aligned"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg remove_labels \
6+
--input-dir "$WORKSPACE/data_src/aligned"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg apply \
6+
--input-dir "$WORKSPACE/data_src/aligned" \
7+
--model-dir "$WORKSPACE/model"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
cd "$(dirname $0)/.."
3+
source scripts/env.sh
4+
5+
python "$DFL_MAIN" xseg remove \
6+
--input-dir "$WORKSPACE/data_src/aligned"

0 commit comments

Comments
 (0)