07-12-2019 05:18 AM
I met this error when use DNNC to generate the model ELF.
[...] [DNNC][DEBUG] Generate dpu instruction for node [layer96_conv]. [DNNC][DEBUG] Generate dpu instruction for node [layer100_conv]. [DNNC][DEBUG] Generate dpu instruction for node [layer97_conv]. dnnc-dpu1.4.0: /tmp/DNNC_V010_Package/dnnc/submodules/asicv2com/src/SlNode/SlNodeConv.cpp:82: void SlNodeConv::generate_convinit_op(const YAggregationType&, const YAggregationType&, uint32_t, uint32_t): Assertion `shift_cut >= 0' failed. 3_compile.sh: line 9: 28800 Aborted (core dumped) dnnc-dpu1.4.0 --prototxt=3_model_after_quantize/deploy.prototxt --caffemodel=3_model_after_quantize/deploy.caffemodel --dpu=4096FA --cpu_arch=arm64 --output_dir=4_model_elf --net_name=yolov3_changed --mode=debug --save_kernel --dump=graph
Actually, I have met this error several times before though it was solved by different ways. However, I couldn't find out the cause this time. I upgraded my dnndk from 0531 version to 0624 version but it didn't work. And some other models won't meet this problem. So I just want to know if anyone can tell me what the error EXACTLY means or the causes of the error. I am really confused about it because I didn't see any explanation about the ERROR itself like the meaning of "Assertion shift_cut >= 0 "
SO, please help me
06-21-2019 02:56 AM
07-13-2019 08:43 AM
I added parameters "-auto_test" & "-test_iter". And I met a new error which didn't occur without the parameters.
layer { name: "layer47-conv" type: "ConvolutionFixed" bottom: "layer46-shortcut" top: "layer47- F0713 22:06:39.002722 12861 insert_splits.cpp:76] Unknown bottom blob 'data' (layer 'data_fixed', bottom index 0) *** Check failure stack trace: *** 2_quantize.sh: line 8: 12861 Aborted (core dumped) decent-cpu quantize -model 2_model_for_quantize/v3.prototxt -weights 2_model_for_quantize/v3.caffemodel -sigmoided_layers layer81-conv,layer85-conv,layer97-conv,layer101-conv -auto_test -test_iter 50 -output_dir 3_model_after_quantize -method 1
I don't know what happened after I added the params. The only difference is the two params for calibration test.
07-13-2019 06:58 PM
I also has a question about the input shape. The model which has that error has an input that height is not equal to width.
So i wonder if the shape may lead to the problem?
08-18-2019 10:28 AM
Hi, I also have the exact same issue as @jsi_wmz
layer { name: "layer47-conv" type: "ConvolutionFixed" bottom: "layer46-shortcut" top: "layer47- F0819 02:21:23.565826 2794 insert_splits.cpp:76] Unknown bottom blob 'data' (layer 'data_fixed', bottom index 0) *** Check failure stack trace: *** 2_quantize.sh: 10 行: 2794 中止
Have you resolve this issue? How did you solve this issue?
Thanks in advance.
08-26-2019 06:06 PM
Actually, I want to know the meaning and usage of the parameters which is list on DECENT in the UG1327.@jcory Could you give me some advice?
Thanks for your assistance.
08-27-2019 07:57 AM
Hi @jsi_wmz ,
The model height does not need to be equal to model width, so this should not be an issue. For SSD, however, there are implications if you change the input size as all of the priorboxes will need to change as well.
Thanks,
-JC
08-27-2019 07:59 AM
Hi @lihahagang,
Please start a new forum post on this and also specify what questions you have. The user guide does list the explanation of each parameter for decent so let us know what portions may be confusing.
Thanks,
-JC