You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployments/packaging-models.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
## TensorFlow
4
4
5
5
<!-- CORTEX_VERSION_MINOR -->
6
-
Export your trained model and upload the export directory, or checkpoint directory containing the export directory, which is usually the case if you used `estimator.train_and_evaluate`. An example is shown below (here is the [complete example](https://github.com/cortexlabs/cortex/blob/master/examples/sentiment-analysis)):
6
+
Export your trained model and upload the export directory, or checkpoint directory containing the export directory, which is usually the case if you used `estimator.train_and_evaluate`. An example is shown below (here is the [complete example](https://github.com/cortexlabs/cortex/blob/0.8/examples/sentiment-analysis)):
7
7
8
8
```Python
9
9
import tensorflow as tf
@@ -80,10 +80,10 @@ with open("sklearn.onnx", "wb") as f:
80
80
<!-- CORTEX_VERSION_MINOR x4 -->
81
81
Here are complete examples of converting models from some of the common ML frameworks to ONNX:
Copy file name to clipboardExpand all lines: examples/image-classifier/alexnet.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@
166
166
},
167
167
"source": [
168
168
"<!-- CORTEX_VERSION_MINOR -->\n",
169
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/image-classifier) for how to deploy the model as an API."
169
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/image-classifier) for how to deploy the model as an API."
Copy file name to clipboardExpand all lines: examples/image-classifier/inception.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -202,7 +202,7 @@
202
202
},
203
203
"source": [
204
204
"<!-- CORTEX_VERSION_MINOR -->\n",
205
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/image-classifier) for how to deploy the model as an API."
205
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/image-classifier) for how to deploy the model as an API."
Copy file name to clipboardExpand all lines: examples/iris-classifier/models/keras.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,7 @@
242
242
},
243
243
"source": [
244
244
"<!-- CORTEX_VERSION_MINOR -->\n",
245
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
245
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/iris-classifier) for how to deploy the model as an API."
Copy file name to clipboardExpand all lines: examples/iris-classifier/models/pytorch.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -274,7 +274,7 @@
274
274
},
275
275
"source": [
276
276
"<!-- CORTEX_VERSION_MINOR -->\n",
277
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
277
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/iris-classifier) for how to deploy the model as an API."
Copy file name to clipboardExpand all lines: examples/iris-classifier/models/sklearn.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -293,7 +293,7 @@
293
293
},
294
294
"source": [
295
295
"<!-- CORTEX_VERSION_MINOR -->\n",
296
-
"We also need to upload the mean and standard deviation, so that the [pre-inference request handler](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/handlers/sklearn.py) can normalize the data before making real-time predictions."
296
+
"We also need to upload the mean and standard deviation, so that the [pre-inference request handler](https://github.com/cortexlabs/cortex/blob/0.8/examples/iris-classifier/handlers/sklearn.py) can normalize the data before making real-time predictions."
297
297
]
298
298
},
299
299
{
@@ -347,7 +347,7 @@
347
347
},
348
348
"source": [
349
349
"<!-- CORTEX_VERSION_MINOR -->\n",
350
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
350
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/iris-classifier) for how to deploy the model as an API."
Copy file name to clipboardExpand all lines: examples/iris-classifier/models/tensorflow.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -287,7 +287,7 @@
287
287
},
288
288
"source": [
289
289
"<!-- CORTEX_VERSION_MINOR -->\n",
290
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
290
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/iris-classifier) for how to deploy the model as an API."
Copy file name to clipboardExpand all lines: examples/iris-classifier/models/xgboost.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -235,7 +235,7 @@
235
235
},
236
236
"source": [
237
237
"<!-- CORTEX_VERSION_MINOR -->\n",
238
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
238
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/iris-classifier) for how to deploy the model as an API."
Copy file name to clipboardExpand all lines: examples/sentiment-analysis/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ A `deployment` specifies a set of resources that are deployed as a single unit.
16
16
request_handler: sentiment.py
17
17
```
18
18
<!-- CORTEX_VERSION_MINOR -->
19
-
You can run the code that generated the exported BERT model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/sentiment-analysis/bert.ipynb).
19
+
You can run the code that generated the exported BERT model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.8/examples/sentiment-analysis/bert.ipynb).
Copy file name to clipboardExpand all lines: examples/sentiment-analysis/bert.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -998,7 +998,7 @@
998
998
},
999
999
"source": [
1000
1000
"<!-- CORTEX_VERSION_MINOR -->\n",
1001
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/sentiment-analysis) for how to deploy the model as an API."
1001
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/sentiment-analysis) for how to deploy the model as an API."
Copy file name to clipboardExpand all lines: examples/text-generator/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ A `deployment` specifies a set of resources that are deployed as a single unit.
18
18
gpu: 1
19
19
```
20
20
<!-- CORTEX_VERSION_MINOR -->
21
-
You can run the code that generated the exported GPT-2 model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/text-generator/gpt-2.ipynb).
21
+
You can run the code that generated the exported GPT-2 model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.8/examples/text-generator/gpt-2.ipynb).
Copy file name to clipboardExpand all lines: examples/text-generator/gpt-2.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -344,7 +344,7 @@
344
344
},
345
345
"source": [
346
346
"<!-- CORTEX_VERSION_MINOR x2 -->\n",
347
-
"We also need to upload `vocab.bpe` and `encoder.json`, so that the [encoder](https://github.com/cortexlabs/cortex/blob/master/examples/text-generator/encoder.py) in the [pre-inference request handler](https://github.com/cortexlabs/cortex/blob/master/examples/text-generator/handler.py) can encode the input text before making a request to the model."
347
+
"We also need to upload `vocab.bpe` and `encoder.json`, so that the [encoder](https://github.com/cortexlabs/cortex/blob/0.8/examples/text-generator/encoder.py) in the [pre-inference request handler](https://github.com/cortexlabs/cortex/blob/0.8/examples/text-generator/handler.py) can encode the input text before making a request to the model."
348
348
]
349
349
},
350
350
{
@@ -374,7 +374,7 @@
374
374
},
375
375
"source": [
376
376
"<!-- CORTEX_VERSION_MINOR -->\n",
377
-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/text-generator) for how to deploy the model as an API."
377
+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.8/examples/text-generator) for how to deploy the model as an API."
0 commit comments