Skip to content

Commit

Permalink
Add validation doc (#48)
Browse files Browse the repository at this point in the history
* Update readme with backend installation info; fixes #42

* Language update

* Default to a stabler onnx
  • Loading branch information
Varun Arora committed May 16, 2018
1 parent f90177e commit 4d9dd93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
protobuf==3.5.1
pytest-runner
onnx==1.1.1
onnx==1.0.1

0 comments on commit 4d9dd93

Please sign in to comment.