~/face_match # ./run-facedetect
/usr/bin/facenet-pipe.py:184: DeprecationWarning: "LOGLEVEL" is deprecated. Please use "LOG_LEVEL"!
mvnc.SetGlobalOption(mvnc.GlobalOption.LOGLEVEL,2)
Device 0 Address: 1.3 - VID/PID 03e7:2150
device attached
1.3
Starting wait for connect with 2000ms timeout
Found Address: 1.3 - VID/PID 03e7:2150
Found EP 0x81 : max packet size is 512 bytes
Found EP 0x01 : max packet size is 512 bytes
Found and opened device
Performing bulk write of 865724 bytes...
Successfully sent 865724 bytes of data in 133.687075 ms (6.175756 MB/s)
Boot successful, device address 1.3
Traceback (most recent call last):
File "/usr/bin/facenet-pipe.py", line 267, in <module>
sys.exit(main())
File "/usr/bin/facenet-pipe.py", line 202, in main
device.OpenDevice()
File "/usr/bin/mvnc/mvncapi.py", line 147, in OpenDevice
raise Exception(Status(status))
Exception: mvncStatus.ERROR
- Movidius USB 通过以下配置传递给 LXD
设备:movidius:类型:usb vendorid:“03e7”
Intel 设备在 ROM 引导模式下被应用程序检测到,但是当设备切换到运行模式时,它的 PID 发生了变化,LXD 没有检测到这个改变的 id。
如果任何机构遇到此问题并已解决,请提供解决方案。
我在 Rpi4 设备中运行 LXD 容器。
在主机(Rpi4)中,代码运行没有任何错误,下面是日志。
root@raspberrypi4:/home/root/face_match# ./run-facedetect /usr/bin/facenet-pipe.py:186: DeprecationWarning: "LOGLEVEL" is deprecated. Please use "LOG_LEVEL"! mvnc.SetGlobalOption(mvnc.GlobalOption.LOGLEVEL,2) Found stale device, resetting Device 0 Address: 1.3 - VID/PID 03e7:2150 device attached 1.3 Starting wait for connect with 2000ms timeout Found Address: 1.3 - VID/PID 03e7:2150 Found EP 0x81 : max packet size is 512 bytes Found EP 0x01 : max packet size is 512 bytes Found and opened device Performing bulk write of 865724 bytes... Successfully sent 865724 bytes of data in 127.807315 ms (6.459871 MB/s) Boot successful, device address 1.3 Found Address: 1.3 - VID/PID 03e7:f63b done Booted 1.3 -> VSC
任何指导将不胜感激。