Hi all.
I use the TIDL8bit fixed point model (QAT) to get a set of outputs, and since I set the writeTraceLevel to 3, I can directly get the corresponding floating point values for the outputs. Using the same input, a set of floating point outputs can be obtained on the pytorch floating point model.
Histograms are drawn using logarithmic and linear coordinates to compare the two sets of outputs, respectively.
The top is the pytorch floating point output and the bottom is the TIDL output.
From the histogram of the linear coordinates, it can be seen that the shape of the output distribution of TIDL and pytorch appear to be the same, but the range of values of the two fields is particularly different. This can lead to very large errors in subsequent post-processing.
I was wondering if it is possible to make the value field of the TIDL output match the true value by multiplying it by a scaling factor? Or is there another way to improve TIDL fixed-point output accuracy?
Best regards.
lance