Skip to content

Commit fffb3b0

Browse files
Add densenet to repo
1 parent b839126 commit fffb3b0

File tree

11 files changed

+25675
-0
lines changed

11 files changed

+25675
-0
lines changed

caffe_models/densenet/build.bat

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
@set TOOL=evgencnn
2+
3+
@set IMAGES=test_images
4+
@set IMAGES=/local/one_image
5+
@set IMAGES=/local/ILSVRC2012/5images
6+
7+
@set TOOLDIR=N:\git\cnn\tools\cnn_tools\evgencnn\scripts
8+
set show_classify=1
9+
@set __SAVER=1
10+
@set create_convolution=1
11+
@rem --caffe caffe_model/%M%\DenseNet_%M%.prototxt ^
12+
@set M=121
13+
@set __CBSC=
14+
@rem --caffe caffe_model/%M%\DenseNet_%M%.prototxt
15+
16+
python %TOOLDIR%/evgencnn ^
17+
--caffe caffe_model/DenseNet_%M%.prototxt ^
18+
--weights caffe_model/%M%\DenseNet_%M%.caffemodel ^
19+
--images %IMAGES% ^
20+
--name test ^
21+
--wof bin --vof bin --name test ^
22+
--fixed_dir fp ^
23+
--float_dir flt ^
24+
--outdir . ^
25+
--signed_blobs ^
26+
--float_type float ^
27+
--vdump_top ^
28+
--ibs 8 ^
29+
-g host_fixed ^
30+
--classifier_layer fc6 ^
31+
--pixel_mean 103.94,116.78,123.68 ^
32+
--allow_unsupported_hardware ^
33+
%*
34+
35+
@goto end
36+
--use_minmax_cache ^
37+
--unsigned_weights ^
38+
--no_verify_blobs ^
39+
-g host_fixed ^
40+
This is vgg16's pixel mean:
41+
-g host_fixed ^
42+
-g host_float ^
43+
--fpsigned ^
44+
--lkrelu 12 ^
45+
--no_verify_blobs ^
46+
--ibs 8 ^
47+
--acc_bias
48+
--nice_format
49+
:end
50+
51+
rd c_ref_fixed c_ref_float
52+
find . -name tnnc!tnnv -rmdir
53+
54+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:c6a6ec988d76c468c3f67501a23a39ec7bf6ebe6729fd99496a15d0e845478b2
3+
size 32303870

0 commit comments

Comments
 (0)