From dd43623da2041de15536c44c9d1db62f5f40a2b2 Mon Sep 17 00:00:00 2001 From: Prabhat Date: Fri, 29 May 2020 21:44:20 +0530 Subject: [PATCH] Remove ONNX from requirements.txt (#4073) * Avoid installing ONNX package on aarch64 * Removed onnx from requirements * Add note in backend.py --- onnxruntime/python/backend/backend.py | 1 + requirements.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/python/backend/backend.py b/onnxruntime/python/backend/backend.py index ec676e7daa..85e20591e3 100644 --- a/onnxruntime/python/backend/backend.py +++ b/onnxruntime/python/backend/backend.py @@ -21,6 +21,7 @@ class OnnxRuntimeBackend(Backend): multiple runtimes with the same API. `Importing models from ONNX to Caffe2 `_ shows how to use *caffe2* as a backend for a converted model. + Note: This is not the official Python API. """ # noqa: E501 @classmethod diff --git a/requirements.txt b/requirements.txt index bebc0e8275..a67b8da362 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ numpy >= 1.16.6 -onnx >= 1.2.3 protobuf