Skip to content

Commit 9ab24c7

Browse files
Add modelnet to repo
1 parent a0fad57 commit 9ab24c7

File tree

78 files changed

+26703
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+26703
-0
lines changed

caffe_models/mobilenet/build.bat

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
@set TOOL=evgencnn
2+
@set IMAGES=test_images
3+
@set IMAGES=/local/one_image
4+
@set IMAGES=/local/ILSVRC2012/100images
5+
6+
@set TOOLDIR=N:\git\cnn\tools\cnn_tools\evgencnn\scripts
7+
set show_classify=1
8+
@set __SAVER=1
9+
@rem @set __IDEMPOTENT=1
10+
@set WF=no_weight_file
11+
@set WF=dummy_weights
12+
@set WF=caffe_model/mobilenet.caffemodel
13+
@set CF=caffe_model/deploy.prototxt
14+
@set MINMAX_PER_MAP=1
15+
@set MINMAX_PER_MAP=
16+
17+
@call :doit 12
18+
@goto end
19+
@call :doit 8
20+
@call :doit 9
21+
@call :doit 10
22+
@call :doit 11
23+
24+
:doit
25+
@set SZ=%1
26+
@set WSZ=%1
27+
28+
:doit
29+
@set SZ=%1
30+
@set WSZ=%1
31+
python %TOOLDIR%/evgencnn ^
32+
--caffe %CF% --weights %WF% ^
33+
--images %IMAGES% ^
34+
--name test ^
35+
--wof bin --vof bin --name test ^
36+
--fpsize %SZ% --fixed_dir fp.%SZ% ^
37+
--float_dir flt ^
38+
--outdir . ^
39+
--allow_unsupported_hardware ^
40+
--float_type float ^
41+
--pixel_mean 103.94,116.78,123.68 ^
42+
--image_scale 4.335 ^
43+
--classifier_layer fc7 ^
44+
--ibs 8 ^
45+
--blob_size 12 data ^
46+
--use_minmax_cache ^
47+
--calibrate_file 100.bin ^
48+
--noZblob_scale fc7 ^
49+
--no_verify_blobs ^
50+
-g host_fixed ^
51+
%9
52+
@cd fp.%SZ%
53+
@call \s.bat
54+
@cd ..
55+
@goto:EOF
56+
57+
@goto end
58+
--signed_blobs ^
59+
-g host_float ^
60+
-g host_fixed ^
61+
--pixel_mean 103.939,116.779,123.68 ^
62+
--no_verify_blobs ^
63+
--acc_bias
64+
--nice_format
65+
:end
66+
67+
@find . -rmdir -s

0 commit comments

Comments
 (0)