-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error When Loading the yolov5s.pt #19
Comments
It could be incompatible versions. Try using pytorch 1.11 to train / export the model. Then change this line, the iOS Libtorch version to
|
Thanks but still got exceptions. Exception raised from valid at /Users/distiller/project/caffe2/serialize/inline_container.cc:158 (most recent call first): |
I replaced this line in the main.dart of the example program
String pathCustomModel = "assets/models/yolov5s.pt";
After compiling and running on the IOS emulator, an error is reported:
[enforce fail at inline_container.cc:222] . file not found: archive/constants.pkl
It seems that yolov5s.pt is not loaded correctly
yolov5s.pt has been verified to be OK.
I would like to know how to solve this problem
The text was updated successfully, but these errors were encountered: