Notifications
Clear all

[Solved] Problems running tflite_imgnnvm.py

 

(@joan-navarro)
New Member
Joined: 2 years ago
Posts: 3
Topic starter  

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!


   
Quote
(@joan-navarro)
New Member
Joined: 2 years ago
Posts: 3
Topic starter  

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 reacted
ReplyQuote