File size: 275 Bytes
eafe4d4
 
 
 
85a4ca2
1
2
3
4
5
#!/bin/bash

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

find . -name '*.ground' | shuf | 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}'