Coral Edge TPU USB 加速器驱动安装失败

Coral Edge TPU USB Accelerator driver fails to install

我正在尝试安装和测试我的 Coral Edge TPU。我正在按照此处的说明进行操作:https://coral.ai/docs/accelerator/get-started/

第一步是从 coral 网站安装驱动程序,但出现以下错误。我试过 运行 并且没有管理员,并再次卸载和安装,但我得到了同样的错误。

还有其他人 运行 关注这个问题吗?我在 Windows 10.

Installing UsbDk                                                                                                       
Installing Windows drivers                                                                                             
Microsoft PnP Utility                                                                                                                                                                                                                          
Adding driver package:  coral.inf                                                                                      
Driver package added successfully.                                                    
Published Name:         oem69.inf                                                                                                                                                                                                              
Adding driver package:  Coral_USB_Accelerator.inf                                                                      
Failed to add driver package: The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.                                                                                                                                                                                                               
Adding driver package:  Coral_USB_Accelerator_(DFU).inf                                                                
Failed to add driver package: The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.                                                                                                                                                                                                               
Total driver packages:  3                                                                                              
Added driver packages:  1                                                                                              
Installing performance counters                                                                                                                                                                                                                
Info: Provider {aaa5bf9e-c44b-4177-af65-d3a06ba45fe7} defined in
C:\Users\User\Downloads\edgetpu_runtime_20201204\edgetpu_runtime\third_party\coral_accelerator_windows\coral.man is already installed in system repository.                   Info: Successfully installed performance counters in
C:\Users\User\Downloads\edgetpu_runtime_20201204\edgetpu_runtime\third_party\coral_accelerator_windows\coral.manCopying edgetpu and libusb to System32                                            1 file(s) copied.                                                                                                      
1 file(s) copied.                                                                                              
Install complete                                                                                                       
Press any key to continue . . .  

这是珊瑚软件中的错误。根据这个帖子 https://github.com/google-coral/edgetpu/issues/260 他们在最新版本(当时是 2.5.0)中搞砸了一些事情。从一个全新的虚拟环境开始,使用 2.1.0 版本和 Python 3.7 的相应驱动程序(从 2.1.0 开始不支持 3.8、3.9)解决了这个问题。

来自那个线程:

For now, I suggest rolling back to the older driver: https://dl.google.com/coral/edgetpu_api/edgetpu_runtime_20200728.zip

And you also need to remove your current tflite_runtime and downgrade it to an older version (make sure to change to the right python version):

pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp36-cp36m-win_amd64.whl pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-win_amd64.whl Apologies, we are working to get this fixed ASAP

您需要使用高级启动菜单禁用强制驱动程序签名。之后你可以安装它。您可以转到“设置”应用 >> 转到“更新和安全 -> 恢复”页面来执行此操作。单击“高级启动”部分下的“立即重新启动”按钮。

我们最近上传了一个新包,应该可以解决这个问题: https://dl.google.com/coral/edgetpu_api/edgetpu_runtime_20210119.zip

来源:珊瑚。ai/software