我已经从这个 URL https://github.com/onnx/onnx安装了 ONNx ,现在尝试在这里运行一些模型https://github.com/onnx/models#face_detection,问题是导入时:
import numpy as np
import onnx
它有效,但是当我尝试导入时
import onnx_backend as backend
它给了我以下错误
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import onnx_backend as backend
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'onnx_backend'
否则我可以毫无错误地加载模型;如何纠正导入错误?