forked from charlesxzb/model-zoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nntc.config.yaml
38 lines (31 loc) · 885 Bytes
/
nntc.config.yaml
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
37
38
---
name: mobileseg
gops: 2.58
model: $(home)/mobileseg_mobilenetv2_cityscapes/
fp_compile_options:
python3 -m bmpaddle
--model $(model)
--shapes [[1,3,640,320]]
--net_name $(name)
--target $(target)
--enable_profile True
time_only_cali:
python3 -m ufw.cali.cali_model
--model=$(model)/model.pdmodel
--input_shapes="[1,3,640,320]"
--net_name=$(name)
--cali_iterations=1
--target=$(target)
--input_name="x"
--output_name="argmax_0.tmp_0"
--test_iterations=1
--debug_cmd="use_fake_data_to_test;not_suspend;not_call_bmnetu"
# int8_model: $(workdir)/$(name)_bmpaddle_deploy_int8_unique_top.prototxt
# int8_weight: $(workdir)/$(name)_bmpaddle.int8umodel
# bmnetu_batch_sizes: [1, 4]
# bmnetu_options:
# --model $(int8_model)
# --weight $(int8_weight)
# --target $(target)
# --enable_profile True
# precision: false