You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Windows 11
Package: Anaconda
pytorch_mobile: ^0.2.1
PyTorch : 1.8.1
I'm getting this error when trying to load the model:
E/PyTorchMobile( 7949): assets/MobileNetV3_2.pt is not a proper model
E/PyTorchMobile( 7949): com.facebook.jni.CppException: [enforce fail at inline_container.cc:222] . file >not found: archive/constants.pkl
# model is loaded into cpu
model.eval()
quantized_model = torch.quantization.convert(model)
scripted_model = torch.jit.script(quantized_model)
opt_model = optimize_for_mobile(scripted_model)
opt_model.save('model.pt')
both load model and predict runs well for me and here is my platform info
OS: Windows 10
Device: Android 10
PyTorch: 1.13.0
pytorch_mobile: ^0.2.2
OS: Windows 11
Package: Anaconda
pytorch_mobile: ^0.2.1
PyTorch : 1.8.1
I'm getting this error when trying to load the model:
All my save types:
I tried all the files and got the same error. Is there a version issue? How can I save my model properly?
The text was updated successfully, but these errors were encountered: