-
Notifications
You must be signed in to change notification settings - Fork 43
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
TFLiteInvoke threw a exception on Raspbian but not on Windows #55
Comments
I'm glad to show the image classification code i used to test Emgu.TF.Lite.
nuget packages: |
I've checked the tfliteextern.dll of x64 folder, which shows in KernelBase.dll, many dlls error opening file, 'cause the system cannot find. But the program works well on windows, still threw exception on rasbian. |
You cannot use tfliteextern.dll for raspbian. It is a windows binary. You will need the libtfliteextern.so file for raspbian. Officially Raspberry Pi OS only support 32bit, there is an experienmental 64bit raspberry pi OS that we do not support. Are you using the 32bit version or the 64bit version of raspberry pi OS? If you are using the 64bit version of raspberry pi OS you will need to build the binary yourself. |
yes,i knew that. i just checked dll but i still used .so lib on linux. Os is Raspbian official so it must be linux arm7vl. |
I found my model and script works good on windows, but not on raspbian, so i wrote a new short program but still unknow what's wrong. These are the steps of my test script:
Emgu.TF.Lite
,Emgu.TF.Lite.runtime.raspbian
,Emgu.TF.runtime.windows
.I'm sure my computer and raspberry pi installed tensorflow==2.4.0 already, but on rasbian it just shows
"Emgu.TF.Lite.TFLiteInvoke threw a exception"
I'm wondering what's wrong with the test code. BTW, my workable image classification code cannot work correctly as well.
Thanks for your answer! :)
The text was updated successfully, but these errors were encountered: