We are doing the wearable application for fall detection and we are on the movement to implement python ML into our application.
val module = Module.load(assetFilePath(this, “test.pt”))
From the above line we are receiving error like below…
Caused by: com.facebook.jni.CppException: PytorchStreamReader failed locating file constants.pkl: file not found Exception raised from valid at /home/agunapal/pytorch/caffe2/serialize/inline_container.cc:183 (most recent call first):
(no backtrace available)
But when we downloaded someother .pt file from internet, it loads correctly. Our ML model was showing Exception. Please help us to overcome this.