07-20-2020 03:32 PM - edited 07-27-2020 11:46 AM
I am using vai_q_tensorflow to quantize a tensorflow model. And I am migrating from DNNDK to Vitis AI. So the model I use could be quantized with decent_q. But I got following message when I try to use vai_q_tensorflow to quantize the model. And I checked that there isn't a file called *conv_kernel_wquant under the temp folder. The model is exported in tensorflow 1.15 to avoid compatible issue. Thanks ahead for your help.
2020-07-20 15:59:30.516107: F tensorflow/contrib/decent_q/kernels/fix_neuron_ops.cc:36] Cannot open file: ./quantize_results/temp/StackedHourglass_stacks_stack_hourglass_0_hourglass_module_main_inner_main_exit_convBlock_conv_batch_norm_3_conv_batch_norm_3_conv_kernel_wquant for op: StackedHourglass/stacks/stack_hourglass_0/hourglass_module/main_inner/main_exit/convBlock/conv_batch_norm_3/conv_batch_norm_3_conv/kernel/wquant
Fatal Python error: Aborted
08-02-2020 06:11 PM
Hi @siliangz ,
I would suggest you to double check your settings refer to:
and make sure you are using a frozen model(I am afraid that we only have VAI 1.1 examples for now):
If it is still can't work. Is it possible to share your files for model quantization?
I would try to reproduce the issue on my side.