diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-01-03 00:58:17 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-01-03 00:58:17 +0100 |
| commit | ae33b2c75ec0e03fd1d80241a4c4b29acadb517c (patch) | |
| tree | fa86a159bafb6ea5c1605cd66a67f8be5a24ba3e /playground | |
| parent | 1a73bd946b8636dbcbb2970c8f8e919b888074ab (diff) | |
calculate native implementation
Diffstat (limited to 'playground')
| -rwxr-xr-x | playground/calculate.sh | 6 | ||||
| -rwxr-xr-x | playground/generate-output.sh | 9 | ||||
| -rwxr-xr-x | playground/generate_output.sh | 9 |
3 files changed, 12 insertions, 12 deletions
diff --git a/playground/calculate.sh b/playground/calculate.sh index bff0e14..9368a6d 100755 --- a/playground/calculate.sh +++ b/playground/calculate.sh @@ -3,6 +3,6 @@ . $(dirname -- "$0")/env.sh exec $PYTHON -m opcut calculate \ - --params $RUN_PATH/params.json \ - --result $RUN_PATH/result.json \ - "$@" + --method forward_greedy \ + --output $RUN_PATH/result.json \ + $RUN_PATH/params.json diff --git a/playground/generate-output.sh b/playground/generate-output.sh new file mode 100755 index 0000000..4e16a64 --- /dev/null +++ b/playground/generate-output.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +. $(dirname -- "$0")/env.sh + +exec $PYTHON -m opcut generate-output \ + --output-type pdf \ + < $RUN_PATH/result.json \ + > $RUN_PATH/output.pdf \ + diff --git a/playground/generate_output.sh b/playground/generate_output.sh deleted file mode 100755 index 0139233..0000000 --- a/playground/generate_output.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -. $(dirname -- "$0")/env.sh - -exec $PYTHON -m opcut generate_output \ - --output-type pdf \ - --result $RUN_PATH/result.json \ - --output $RUN_PATH/output.pdf \ - "$@" |
