Error with DFC after adding an optimization line

Hello,

After I added this line “pre_quantization_optimization(resolution_reduction, shape=[128, 128])” in my “all” config file, the Dataflow compiler threw this error and stopped:
AttributeError: ‘HailoPostprocess’ object has no attribute ‘verify_layer_inputs_shape’.
It happened for both version 3.29 and version 3.31.
It seems there is some mismatch among the code used by DFC. Any suggestion? Thanks!

Hey @TT2024 ,

I looked into this and found that resolution_reduction was actually introduced as a new pre-quantization optimization pass in DFC v3.30 and could use it in 3.30.

Since you’re running v3.29, that method just isn’t available yet. Are you seeing the same issue when you try v3.30 or v3.32? If it’s still broken in those versions, I’ll go ahead and file it as a bug report.

But be carefull that when using 3.31 there might be somethings left from 3.29 , make sure just that you purged it correctly!

Thank you very much for your help!

1 Like