#!/bin/bash export DEEPDIVE_NUM_PROCESSES=1 #None interactive mode #export DEEPDIVE_INTERACTIVE=false export DEEPDIVE_PLAN_EDIT=false deepdive do sentences export DEEPDIVE_NUM_PROCESSES=11 count=1 flag=-1 while(($flag<0)) do deepdive do probabilities if [ $? -eq 0 ] then flag=1 fi if [ $count -gt 10 ] then flag=1 fi let "count++" done epoch=2 int=1 while(($int<=$epoch)) do python ./udf/autoRun_replacelabel.py save python ./udf/autoRun_replacelabel.py iterate # times = `expr $int % 2` # if [ $times -eq 1 ] # then # rm ./deepdive.conf # cp ./deepdive_after.conf deepdive.conf # else # rm ./deepdive.conf # cp ./deepdive_before.conf deepdive.conf # fi # deepdive compile deepdive model ground&&deepdive do probabilities let "int++" done