-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·9 lines (9 loc) · 2.33 KB
/
run.sh
1
2
3
4
5
6
7
8
9
git pull && \
gradle distTar && \
rm ~/reinforcement-1.0-SNAPSHOT* -r && \
tar -xf ./build/distributions/reinforcement-1.0-SNAPSHOT.tar --directory ~ && \
#rm nohup.bipedal.out && \
#nohup ~/reinforcement-1.0-SNAPSHOT/bin/reinforcement -i python3 -b "{\"outputs\":4,\"constValues\":{},\"neuronInputs\":{\"IN#10\":[],\"IN#11\":[],\"IN#12\":[],\"OUT#0\":[{\"strength\":0.1697268233007826,\"neuron\":\"IN#b\"}],\"OUT#2\":[{\"strength\":0.4704833128861854,\"neuron\":\"ABS#4d1b23f0\"}],\"OUT#1\":[{\"strength\":0.9062322223449814,\"neuron\":\"SUBTRACT#3299f74f\"}],\"OUT#3\":[{\"strength\":0.6189824512450861,\"neuron\":\"MULTIPLY#59372fce\"}],\"ABS#4d1b23f0\":[{\"strength\":0.4931034788482721,\"neuron\":\"MIN#7baa54dc\"}],\"MIN#7baa54dc\":[{\"strength\":0.41314705920302675,\"neuron\":\"MULTIPLY#59372fce\"},{\"strength\":2.255470117955606,\"neuron\":\"IN#10\"}],\"IN#a\":[],\"SIN#26b080db\":[{\"strength\":0.6490628750388859,\"neuron\":\"ADD#398b8f9b\"}],\"IN#d\":[],\"IN#e\":[],\"IN#b\":[],\"IN#c\":[],\"IN#13\":[],\"IN#14\":[],\"IN#f\":[],\"IN#15\":[],\"IN#16\":[],\"IN#17\":[],\"ADD#398b8f9b\":[{\"strength\":0.03266448134026312,\"neuron\":\"IN#4\"},{\"strength\":-0.8518912592788981,\"neuron\":\"IN#5\"}],\"IN#0\":[],\"IN#1\":[],\"IN#4\":[],\"SUBTRACT#3299f74f\":[{\"strength\":0.9415588554277767,\"neuron\":\"SIG#11ad14a6\"},{\"strength\":0.5392127063733579,\"neuron\":\"SIN#26b080db\"}],\"IN#5\":[],\"IN#2\":[],\"IN#3\":[],\"IN#8\":[],\"IN#9\":[],\"IN#6\":[],\"IN#7\":[],\"MULTIPLY#59372fce\":[{\"strength\":0.5716729261280462,\"neuron\":\"SIG#11ad14a6\"},{\"strength\":1.6576560720518694,\"neuron\":\"IN#7\"}],\"SIG#11ad14a6\":[{\"strength\":0.17096832867463851,\"neuron\":\"IN#9\"}]},\"varOutputs\":{\"IN#10\":[],\"IN#11\":[],\"IN#12\":[],\"OUT#0\":[],\"OUT#2\":[],\"OUT#1\":[],\"OUT#3\":[],\"ABS#4d1b23f0\":[],\"MIN#7baa54dc\":[],\"IN#a\":[],\"SIN#26b080db\":[],\"IN#d\":[],\"IN#e\":[],\"IN#b\":[],\"IN#c\":[],\"IN#13\":[],\"IN#14\":[],\"IN#f\":[],\"IN#15\":[],\"IN#16\":[],\"IN#17\":[],\"ADD#398b8f9b\":[],\"IN#0\":[],\"IN#1\":[],\"IN#4\":[],\"SUBTRACT#3299f74f\":[],\"IN#5\":[],\"IN#2\":[],\"IN#3\":[],\"IN#8\":[],\"IN#9\":[],\"IN#6\":[],\"IN#7\":[],\"MULTIPLY#59372fce\":[],\"SIG#11ad14a6\":[]},\"inputs\":24}" > nohup.bipedal.out && \
pkill cota4.*java -f
nohup ~/reinforcement-1.0-SNAPSHOT/bin/reinforcement -i python3 > nohup.bipedal.out & \
tail nohup.bipedal.out -f