File tree 4 files changed +9
-9
lines changed 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/sh -ax
1
+ #! /bin/bash -ax
2
2
ntrain=3000000
3
3
hidden=50
4
4
test_every=50000
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
scons -c
4
4
scons profile=1 options=" ${options:- } " -j 4 clstmocrtrain
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
set -x
3
3
export hidden=50
4
4
export lrate=1e-2
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
set -e
3
3
debug=${debug:- 0}
4
4
options=${options:- }
@@ -7,17 +7,17 @@ export PS4='
7
7
trap " echo TEST FAILED" EXIT
8
8
set -x
9
9
export seed=0.222
10
- scons -s -c; rm -f * .o * .a
11
- scons -j 4 gpu=0 debug=$debug options=" $options " clstmocrtrain clstmfiltertrain clstmfilter clstmocr test-lstm
10
+ scons -s -c; rm -f ./ * .o ./ * .a
11
+ scons -j 4 gpu=0 debug=" $debug " options=" $options " clstmocrtrain clstmfiltertrain clstmfilter clstmocr test-lstm
12
12
time ./test-lstm
13
13
time ./test-filter.sh
14
14
time ./test-ocr.sh
15
- scons -s -c; rm -f * .o * .a
16
- scons -j 4 gpu=0 double=1 debug=$debug options=" $options " test-cderiv test-deriv test-ctc
15
+ scons -s -c; rm -f ./ * .o ./ * .a
16
+ scons -j 4 gpu=0 double=1 debug=" $debug " options=" $options " test-cderiv test-deriv test-ctc
17
17
./test-cderiv
18
18
./test-deriv
19
19
./test-ctc
20
- rm -f * .pb.h * .pb.cc
20
+ rm -f ./ * .pb.h ./ * .pb.cc
21
21
scons -c all
22
22
# scons -s -c pyswig
23
23
# scons pyswig
You can’t perform that action at this time.
0 commit comments