Skip to content
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

Issues with Windows build #76

Open
tehtea opened this issue Jan 11, 2021 · 0 comments
Open

Issues with Windows build #76

tehtea opened this issue Jan 11, 2021 · 0 comments

Comments

@tehtea
Copy link

tehtea commented Jan 11, 2021

Hello, I managed to get a converted model working using a Linux VM, but found two issues with the 0.2.6 .exe file when I tried doing the same thing in Windows 10:

  1. No error messages shown when exceptions are thrown. To reproduce, download birealnet18.onnx and run onnx2bnn.exe birealnet18.onnx sample.dab --binary-convs 9000,
  2. Converted models did not have the correct version number and thus could not be loaded into the Android app. To reproduce, run onnx2bnn.exe birealnet18.onnx sample.dab --aggressive and import sample.dab into the daBNN-example repository. An error message along the lines of E/libc++abi: terminating with uncaught exception of type std::runtime_error: model_->version() == 2 is not satisfied! The model version should be 2, got 2950774155 instead. should be shown in ADB Logcat.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant