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.
AM5749: TIDL - Cannot quantize layer Reshape
Part Number: AM5749
I had a problem doing quantization for a detection network in caffe in which I would like to use a reshape layer followed by a softmax layer. I got an error code of -1100 during the quantization process using SDK tool. I referred to AM5749 as well as this link (http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_TIDL.html) which shows that using reshape layer with softmax layer is feasible in SSD "context". So I just want to know is it possible to do it the same way in my case since it's similar as in SSD.
I have enclosed the caffe .prototxt and .caffemodel in case you need to do an analysis.
mnet.prototxt : structure file for network with reshape and softmax
mnet_no_reshape.prototxt: structure file for network without reshape and softmax
mnet.caffemodel: weights file for network both with and without reshape and softmax
RETINA.BIN and RETINA.PRM: output file of quantization
Would appreciate if you could give a better explanation how to use reshape followed by softmax. Thanks in advanced!
Sorry, I guess I have given the wrong the part number, it should be tda2xx.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to yipinzhu:
A DetectionOutput layer must be present in a network model in order for TIDL import tool to recognize it as an “SSD” network. Your model doesn’t have a DetectionOutput layer and is not recognized by TIDL import tool as SSD network. Therefore, Reshape is not merged with Softmax.
Below is our JDetNet model which has a DetectionOutput layer and therefore Reshape layer is merged into Sofmax.
In reply to manisha:
Thanks for the clarification, this answers my quesiton for the time. While I hope you can soon support stand alone Reshape layer and Softmax layer for detection networks.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.