FoRUmS

[Solved] Problems running tflite_imgnnvm.py  

 

joan.navarro
(@joan-navarro)
New Member
Joined: 7 months ago
Posts: 3
23/08/2022 5:10 pm  

Hello,

I am unable to run the tflite_imgnnvm.py script. When I run it, I get the following error:

Traceback (most recent call last):
File "tflite_imgnnvm.py", line 21, in <module>
from img_nc_sdk import imglogging, dnn_sdk, nnvm
ModuleNotFoundError: No module named 'img_nc_sdk'

 

If I modify the script and add the following line before the import img_nc_sdk:

sys.path.append('~/Software/NC-SDK-AC_V0.3/ncsdk/img_nc_sdk')

I get the following error:

File "tflite_imgnnvm.py", line 21, in <module>
from img_nc_sdk import imglogging, dnn_sdk, nnvm
File "~/Software/NC-SDK-AC_V0.3/ncsdk/img_nc_sdk/img_nc_sdk/__init__.py", line 10, in <module>
import nnvm
ModuleNotFoundError: No module named 'nnvm'

I have been unable to find any nnvm.py file on the SDK. Can you help me please?

Thank you!


ReplyQuote
joan.navarro
(@joan-navarro)
New Member
Joined: 7 months ago
Posts: 3
23/08/2022 7:51 pm  

Hi,

I realized that my ~/software folder had the name of "Software" instead of "software". Adding a symlink to it (ln -s Software software) fixed it.


RCWO liked
ReplyQuote