Datasets:
Edward J. Schwartz
commited on
Commit
·
a805bef
1
Parent(s):
eafe4d4
Use parallel with --eta
Browse files
scripts/gen-training.bash
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
|
3 |
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
4 |
|
5 |
-
find . -name '*.ground' |
|
|
|
2 |
|
3 |
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
4 |
|
5 |
+
find . -name '*.ground' | nice parallel -q --eta -I foo bash -c 'F=$(dirname foo)/$(basename foo .ground); echo $F; python3 '"$SCRIPT_DIR"'/gen-training.py $F{.ground,,.csv}'
|