Closed buiduchanh closed 5 years ago
That's the C++ core library not the python binding
That's the C++ core library not the python binding
@Naville https://github.com/alibaba/MNN/blob/master/pymnn/examples/MNNEngineDemo/mobilenet_demo.py This demo using MNN as python lib. Could you check it ?
https://www.yuque.com/mnn/en/usage_in_python
Please see the above link for doc. Generally speaking, you need to install Python MNN package. command line like pip install -U MNN
@stanleywang8888 I know. I'm working on raspberrypi so I can not install It from pip. Do you have any suggestion ?
Sorry, Python package depends on pip, either you can try to solve the pip issue, or you can try the c++ interface.
Sorry, Python package depends on pip, either you can try to solve the pip issue, or you can try the c++ interface.
I can build it con raspberry pi. Thanks for support :D
Hi @buiduchanh , We are using nvidia jetson nano, We are able to build for c++ but unable get the python bindings. We have given the pip3 command and got the error as below
nvdia@nvdia-desktop:~$ sudo pip3 install -U MNN ERROR: Could not find a version that satisfies the requirement MNN (from versions: none) ERROR: No matching distribution found for MNN
Can you please share the steps you followed for raspberry pi so that we can try on our board. Any help is much appreciated. Thanks and regards
@abhishek1390 Can you try pip package from my repo ?
hi @buiduchanh, can you share you way to compile this lib on raspbian? thanks in advance!
Sorry all. At first, we need understand when we build pip package It will build 2 function :
i see ,many thanks------------------ 原始邮件 ------------------ 发件人: "Bùi Đức Hạnh"<notifications@github.com> 发送时间: 2020年12月17日(星期四) 中午11:16 收件人: "alibaba/MNN"<MNN@noreply.github.com>; 抄送: "Daliang"<oktai@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [alibaba/MNN] Install python package with MNN (#437)
@buiduchanh can you tell me which mnn version you used ?
I install this git follow the instruction https://www.yuque.com/mnn/en/build_linux It success and I got this file libMNN.so but I can not import the MNN from python. Anyone can help me ?