EPOCH=1 | |
CURRENT_SUB=0 | |
PAST=0 | |
PAST_SUB=4 | |
while true | |
do | |
for i in $(seq 0 4) | |
do | |
echo "EPOCH: $EPOCH SUB: $i PAST_EPOCH: $PAST PAST_SUB: $PAST_SUB" | |
/home/ubuntu/kohya-command-base.sh $EPOCH $i $PAST $PAST_SUB | |
sleep 1 | |
PAST=$EPOCH | |
PAST_SUB=$i | |
done | |
PAST=$EPOCH | |
EPOCH=$(($EPOCH+1)) | |
echo "" | |
echo "STARTING NEW EPOCH: $EPOCH" | |
echo "" | |
done | |