-
Notifications
You must be signed in to change notification settings - Fork 226
/
run-profile
executable file
·36 lines (30 loc) · 975 Bytes
/
run-profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
set -x
export hidden=50
export lrate=1e-2
export ntrain=2001
export report_every=2000
echo 'hello hello' > _filter.txt
scons -s -c clsmtfiltertrain
scons -s -j 4 profile=1 usemat=0 clstmfiltertrain
mv clstmfiltertrain clstmfiltertrain-ten
time ./clstmfiltertrain-ten _filter.txt
mv gmon.out clstmfiltertrain-ten.out
scons -s -c clstmfiltertrain
scons -s -j 4 profile=1 usemat=1 clstmfiltertrain
mv clstmfiltertrain clstmfiltertrain-mat
time ./clstmfiltertrain-mat _filter.txt
mv gmon.out clstmfiltertrain-mat.out
export ntrain=201
export report_every=200
echo misc/textline.bin.png > _ocrtest.txt
scons -s -c clstmocrtrain
scons -s -j 4 profile=1 usemat=0 clstmocrtrain
mv clstmocrtrain clstmocrtrain-ten
time ./clstmocrtrain-ten _ocrtest.txt
mv gmon.out clstmocrtrain-ten.out
scons -s -c clstmocrtrain
scons -s -j 4 profile=1 usemat=1 clstmocrtrain
mv clstmocrtrain clstmocrtrain-mat
time ./clstmocrtrain-mat _ocrtest.txt
mv gmon.out clstmocrtrain-mat.out