Hi Team,
I faced below exception while trying to convert load SSD Mobilenet V2 .dlc file and face the below issue. The ssd was trained in TF 1.11 version and exported in same version.
The above .pb file was converted to .dlc format with Tf 1.11 version, Snpe 1.39 version and python3.5. I tried loading the .dlc format and faced below issue
Error:
Unable to create network! Cause: error_code=312; error_message=Undefined error. SNPE model format version detected: 3.0.0; error_component=SNPE; line_no=66; thread_id=520480883952
Any help from qualcomm team will be appreciated !!
Hi Team,
The above error was due to differenet snpe-release.aar files. I placed different snpe-release.aar file and got the above issue. The solution is to replace snpe-release.aar file found in snpe_1.39/android/snpe-release.aar this one in my app.
Main solution is replace snpe-release.aar file in app with the snpe version on which your .dlc file was trained with. In simple terms if .dlc was converted with snpe 1.39, replace this verion's snpe-release.aar file in your app.
Hope this helps someone !!