From 4d9dd93d05655a4e25fc588569b95ef64e34eeeb Mon Sep 17 00:00:00 2001 From: Varun Arora Date: Wed, 16 May 2018 14:14:38 -0700 Subject: [PATCH] Add validation doc (#48) * Update readme with backend installation info; fixes #42 * Language update * Default to a stabler onnx --- README.md | 11 +++++++++++ requirements.txt | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 07dbd9282..427640047 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,17 @@ Currently aimed at a wider coverage of models and operators. There are several P ## Testing / validation +### Install dependencies + +You may use either the Caffe2 or the ONNX-TensorRT backend (basically platforms where the ONNX models are executed) to test your models. + +Please refer to each library / platforms' installation instructions pages (and make them available in the current Python virtual environment, if you created one): +- [Caffe2](https://caffe2.ai/docs/getting-started.html) +- [ONNX-TensorRT](https://github.com/onnx/onnx-tensorrt) + + +### Validate a model + To validate the similarity of the PaddlePaddle Fluid model and the exported ONNX model, run the following: ``` diff --git a/requirements.txt b/requirements.txt index c1753bfa9..5b52a64b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ protobuf==3.5.1 pytest-runner -onnx==1.1.1 +onnx==1.0.1