-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·12 lines (10 loc) · 765 Bytes
/
run.sh
File metadata and controls
executable file
·12 lines (10 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
START=$(date +%s)
# do something
# start your script work here
#python convnet.py --data-path=../cifar-10-py-colmajor/ --save-path=../cnntmp --test-range=5 --train-range=1-4 --layer-def=./example-layers/layers-conv-local-13pct.cfg --layer-params=./example-layers/layer-params-conv-local-13pct.cfg --data-provider=cifar --test-freq=13 --crop-border=4 --epochs=100
python convnet.py --data-path=../BDGP_CNN/color_32/ --save-path=../cnntmp --test-range=4 --train-range=1-3 --layer-def=./example-layers/layers-conv-local-13pct.cfg --layer-params=./example-layers/layer-params-conv-local-13pct.cfg --data-provider=cifar --test-freq=13 --crop-border=4 --epochs=100
# your logic ends here
END=$(date +%s)
DIFF=$(( $END - $START ))
echo "It took $DIFF seconds"