用int8量化后导出nbg文件正常。将一个层改为int16后导出ngb文件失败
customized_quantize_layers:
Sigmoid_Sigmoid_194_16_Mul_Mul_195_12: dynamic_fixed_point-i16
失败输出打印:
[Galcore]: system reserved pool0 CPU physical=0x1000000 GPU physical=0x1000000 virtual=0x1000000 size=0xf3334000
E [ops/vsi_nn_op_conv2d.c:op_check:430]Inputs/Outputs data type not support: DFP INT16, SYMM PC INT8, SYMM PC INT64, ASYM UINT8
E [vsi_nn_graph.c:setup_node:483]Check node[145] CONV2D fail
E [vnn_yolov5ssimprj.c:vnn_CreateYolov5sSimprj:6523]CHECK STATUS(-1:A generic error code, used when no other describes the error.)
E [main.c:vnn_CreateNeuralNetwork:202]CHECK PTR 202
E [main.c:main:236]CHECK PTR 236
E Fatal model generation error: 65280
W ----------------Error(1),Warning(0)----------------
Traceback (most recent call last):
File "pegasus.py", line 131, in <module>
File "pegasus.py", line 116, in main
File "acuitylib/app/exporter/commands.py", line 178, in execute
File "acuitylib/vsi_nn.py", line 653, in export_ovxlib
File "acuitylib/app/exporter/ovxlib_case/export_ovxlib.py", line 73, in run
File "acuitylib/app/exporter/ovxlib_case/casegenerator.py", line 744, in generate
File "acuitylib/app/exporter/ovxlib_case/casegenerator.py", line 702, in _gen_special_case
File "acuitylib/app/exporter/ovxlib_case/casegenerator.py", line 679, in _gen_nb_file
File "acuitylib/acuitylog.py", line 263, in e
acuitylib.acuityerror.AcuityError: ('Fatal model generation error: 65280', 'nbg_generate')
[834012] Failed to execute script 'pegasus' due to unhandled exception!