Open mohaimenz opened 4 years ago
It should not occur, if you used
python3 setup.py install
Workaround 1: run sudo python3 setup.py install
Workaround 1: set environmental variable PYTHONPATH, e.g. export PYTHONPATH=<deepC-root-dir>/
@srohit0
Hi Rohit,
Thanks for your suggestion.
I have used pip install deepC
that all your tutorials and videos suggested. It always said 'deepC.dnnc is not found'.
I manually checked the installation and it was not there.
Then cloned the git repo and I used all your suggested options but no luck, same error.
I have also tried the suggested way provided at the top of the setup.py file
how to run this script: python setup.py bdist_wheel
how to test install: python -m pip install ~/dnnc/master/deepC/dist/dnnc-0.1-py3-none-any.whl --root pip_install_test
So, I haven't been able to use deepC anyway. Am I missing something?
Few developers have used MAC in the past successfully.
You can use cainvas.ai-tech.systems to avoid installation.
We'd be glad to help out, if you're open.
Hi, I have developed a tensorflow model and convertred it to onnx. Now I need to port it to micro controller. I need to convert it to c. I am using windows 10. I tried these codes and I am also getting the "ModuleNotFoundError: No module named '_dnnc'. Can you please help me.
Sure, we'd be happy to help if you can share your screen to resolve the issue.
Alternatively, you can use cainvas.ai-tech.systems to avoid installation and the issue altogether.
C:\Users\Anaconda3\Lib\site-packages\deepC\scripts>python -m onnx2cpp tf_to_onnx_model.onnx
Traceback (most recent call last):
File "C:\Users\Anaconda3\lib\site-packages\deepC\dnnc.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Anaconda3\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\40010033\Anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\Anaconda3\Lib\site-packages\deepC\scripts\onnx2cpp.py", line 31, in
Thanks. Please reach out to hi @ ai-techayatems .c0m for further installation support.
Can you please describe the steps to be followed to convert an onnx model( converted from tensorflow) to c which can be deployed on microcontroller (windows environment)
On Mon, May 31, 2021, 8:32 PM Rohit Sharma @.***> wrote:
Thanks. Please reach out to hi @ ai-techayatems .c0m for further installation support.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ai-techsystems/deepC/issues/135#issuecomment-851546118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKZDRPDJX4PSKCGC27XXGZLTQOQHXANCNFSM4S5RYRMA .
You're one of the few reporting this. Unless we see the issue in action, there are no steps we can recommend.
Hi, After installing deepC, I am trying to test if it is working. I see the following error. Any suggestion regarding this error? Environment: Mac OS