Skip to content

Commit 2f8dac9

Browse files
committed
Fix ONNX paths
1 parent 779321a commit 2f8dac9

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

docs/packaging/onnx.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ with open("sklearn.onnx", "wb") as f:
2121
<!-- CORTEX_VERSION_MINOR x4 -->
2222
Here are complete examples of converting models from some of the common ML frameworks to ONNX:
2323

24-
* [PyTorch](https://github.com/cortexlabs/cortex/blob/master/examples/pytorch/iris-classifier-onnx/pytorch.py)
25-
* [Sklearn](https://github.com/cortexlabs/cortex/blob/master/examples/sklearn/iris-classifier-onnx/sklearn.py)
26-
* [XGBoost](https://github.com/cortexlabs/cortex/blob/master/examples/xgboost/iris-classifier-onnx/xgboost.py)
27-
* [Keras](https://github.com/cortexlabs/cortex/blob/master/examples/keras/iris-classifier-onnx/keras.py)
24+
* [XGBoost](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/xgboost/iris-classifier/xgboost.ipynb)
2825

2926
Upload your exported model to Amazon S3 using the AWS web console or CLI:
3027

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
## XGBoost
2222

23-
- [Iris classification](xgboost/iris-classifier-onnx): deploy a model to classify iris flowers (exported in ONNX).
23+
- [Iris classification](xgboost/iris-classifier): deploy a model to classify iris flowers (exported in ONNX).
2424

2525
## scikit-learn
2626

examples/xgboost/iris-classifier/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A `deployment` specifies a set of resources that are deployed together. An `api`
2222
```
2323
2424
<!-- CORTEX_VERSION_MINOR -->
25-
You can run the code that generated the exported model used in this example [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/xgboost/iris-classifier-onnx/xgboost.ipynb).
25+
You can run the code that generated the exported model used in this example [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/xgboost/iris-classifier/xgboost.ipynb).
2626
2727
## Add request handling
2828

0 commit comments

Comments
 (0)