My model contains nn.Functional.interpolate layer and it is converted properly to .pt model using jit.
But Loading same model in android giving issues.
This is happening in case of interpolate layer only.
Edit - Error trace
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.pytorch.custom_model/org.pytorch.custom_model.MainActivity}: com.facebook.jni.CppException: false CHECK FAILED at …/c10/core/Backend.h (tensorTypeIdToBackend at …/c10/core/Backend.h:106)
(no backtrace available)
Hi @tom , I am using pytorch_android 1.3.1 and pytorch android torchvision 1.3.1
and pytorch version 1.3.1 cpu. I didn’t find any discrepancies for versions.
Can you enlighten more?
Hi@mohit7,I meet the same problem as you. Now I am trying to retrain the model with pytorch 1.3.If you have solved the problem, I hope you can give me some advice, thank you. You can contact with me. My email address is 1209648713@qq. com.
hey @kunstlicheSeele onnx to tensorflow conversion is not stable.
Better to not use it.You can go fro keras to tensorflow and you can transfer your weights from pytorch to keras.
Hope this helps.
Thanks,
Mohit Ranawat