minionn icon indicating copy to clipboard operation
minionn copied to clipboard

no matching to pybind11call

Open Ye-D opened this issue 6 years ago • 3 comments

hi , thanks for your help. I have deploy your system , but when I run test.py , I always get some errors as follows. image would you mind give me some advice ? thank you very much .

Ye-D avatar Aug 10 '18 08:08 Ye-D

Hi, it is nice to see that there is interest in our project.

Your error looks like it is only related to pybind11. Can you maybe try to run a simple test for cppimport and pybind11? Like some of the examples that are given here: https://github.com/tbenthompson/cppimport

Maybe that helps to find the source of the problem. Because I do not see anything MiniONN specific in that error message.

Cheers, Fritz

fritzalder avatar Aug 10 '18 10:08 fritzalder

Thank you for your last help , I have verified the pybind11 , and passed successfully . But I still have the problems as before. For further debug , we write a python script the follow compiling process , the script is as follow:

image

And we use python3 to run it . However , we get errors as follows .

1

There are some other errors like above. All the debug information indicates that there are some errors in the pybind11, which we are very confused. And when we run the test.py which is in the lib subdirectory, we get the dispoi results as follows

q0wio4v ffcgx37 fcp_ly

We think there may be some problems in pybind11 or SEAL. And our OS is
3

Could you give us some advice? Thank you very much.

Ye-D avatar Aug 29 '18 07:08 Ye-D

Yes, this looks like a pybind11 problem... Maybe test a simple cppimport example first and see if you can make pybind11 run at all. Here is the cppimport repository with a good example in the Readme. Try to run the example in the lib folder (so it uses your pybind11 folder that Minionn would use): https://github.com/tbenthompson/cppimport

Let me know what that brings. Cheers, Fritz

fritzalder avatar Aug 30 '18 09:08 fritzalder