Hi,
With a CNN model, is it possible to produce the exact same output using TIDL and using caffe-jacinto with quantization?
If yes, what are the quantization parameters I need to set in caffe-jacinto?
William
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
With a CNN model, is it possible to produce the exact same output using TIDL and using caffe-jacinto with quantization?
If yes, what are the quantization parameters I need to set in caffe-jacinto?
William
Hi,
Same quantization logic is implemented in caffe-jacinto and TIDL. We did not spend effort to match the outputs. The caffe-jacinto will provide close indication of expected accuracy when it is deployed using TIDL.
Thanks and Regards,
Kumar.D
Hi,
I have further tested the said scenario with TIDL and pre-trained jsegnet21v2 initial model (downloaded from: https://github.com/tidsp/caffe-jacinto-models/tree/caffe-0.16/trained/image_segmentation/cityscapes5_jsegnet21v2/initial).
Below are the examples of outputs. Although Caffe with quantization produces coarser segmentation result than Caffe without quantization (which is expected), it is still pretty different from TIDL output. Is there any advice to perform a closer estimation of TIDL accuracy using Caffe-jacinto?
Caffe result without quantization:
Caffe result with quantization (12-bit for weights, 8-bit for activations, power2 scaling set to true):
TIDL result (bitwidth: 12):