frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Alert: This site has migrating to our new home at https://forums.intel.com/s/topic/0TO0P000000PqZDWA0/intel-neural-compute-sticks. Please visit us there!

AttributeError: NOT_ALLOCATED

Traceback (most recent call last):
File "run.py", line 14, in
import mvnc_simple_api as mvnc
File "../../ncapi2_shim/mvnc_simple_api.py", line 10, in
class mvncStatus(Enum):
File "../../ncapi2_shim/mvnc_simple_api.py", line 23, in mvncStatus
NOT_ALLOCATED = mvncapi2.Status.NOT_ALLOCATED
File "/usr/local/lib/python3.5/dist-packages/mvnc/mvncapi.py", line 46, in getattr
return getattr(self.new_target, attr)
File "/usr/lib/python3.5/enum.py", line 274, in getattr
raise AttributeError(name) from None
AttributeError: NOT_ALLOCATED

Comments

  • 2 Comments sorted by Votes Date Added
  • I have the same problem.
    If you solve this problem,could you share it with me ?

  • I had the same problem usig ncsdk2 with movidus NCS 1 for the ncappzoo example code video_face_matcher.

    The solution for me was commenting out the line the line 8
    #import mvnc_simple_api as mvnc
    and uncommenting the line 9
    from mvnc import mvncapi as mvnc

Sign In or Register to comment.