-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
pip install MNN on Raspberry pi 4 not work #1051
Comments
@nakarin Hi are you able to install it on raspberry pi 4? if yes , please let me know how to do it. |
@Ratansairohith |
@ling9601 Nope i was unable to install it on rpi 4. If you find a way please let me know. |
yes, I am not at home now. I will share the installation tomorrow |
@Ratansairohith Try the following step to build the wheel and install it.
According to [this],(RangiLyu/nanodet#92) use 1.0.0 instead of the latest version (I tested that 1.1.3 is faster and the result is the same as 1.0.0, also mutithread in 1.1.3 can be used but not in 1.1.0)
If we build
so we dont build the
to
use
change platform, modify the following line
to
don't build
build wheel
Beacuse we did not build the
in order the silent this error, comment out the following line
then test |
@ling9601 thank you very much for your detailed explaination! I will try it out this week and get back to you if i had any trouble. |
modify
|
I wonder if you can share the speed you get on the rpi with MNN? FPS for the models you use? |
For MNN-2.0.0 in raspberry pi 4 with kernel version 5.10.92-v7l+, only need to modify the build_wheel.py as follows:pymnn/pip_package/build_wheel.py
...
if IS_LINUX:
os.system('python setup.py bdist_wheel --plat-name=manylinux2014_armv7l')
... |
Don't have pre-build python whl for raspberry. Suggest this method. |
Hi, Best regards, |
I'd like to install MNN (Python) for RPi 4 by pip install MNN but not work.
Have anyone can solved this?
Thanks.
The text was updated successfully, but these errors were encountered: