Skip to content

Commit 33d6def

Browse files
committed
update samples from Release-158 as a part of 1.0.74 SDK release
1 parent 69d4344 commit 33d6def

File tree

29 files changed

+356
-102
lines changed

29 files changed

+356
-102
lines changed

configuration.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"source": [
104104
"import azureml.core\n",
105105
"\n",
106-
"print(\"This notebook was created using version 1.0.72.1 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.0.74 of the Azure ML SDK\")\n",
107107
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
108108
]
109109
},

how-to-use-azureml/automated-machine-learning/classification-bank-marketing-all-features/auto-ml-classification-bank-marketing-all-features.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,7 @@
334334
"cell_type": "markdown",
335335
"metadata": {},
336336
"source": [
337-
"Call the `submit` method on the experiment object and pass the run configuration. Execution of local runs is synchronous. Depending on the data and the number of iterations this can run for a while.\n",
338-
"In this example, we specify `show_output = True` to print currently running iterations to the console."
337+
"Call the `submit` method on the experiment object and pass the run configuration. Execution of local runs is synchronous. Depending on the data and the number of iterations this can run for a while."
339338
]
340339
},
341340
{

how-to-use-azureml/automated-machine-learning/classification-credit-card-fraud/auto-ml-classification-credit-card-fraud.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@
230230
"cell_type": "markdown",
231231
"metadata": {},
232232
"source": [
233-
"Call the `submit` method on the experiment object and pass the run configuration. Depending on the data and the number of iterations this can run for a while.\n",
234-
"In this example, we specify `show_output = True` to print currently running iterations to the console."
233+
"Call the `submit` method on the experiment object and pass the run configuration. Depending on the data and the number of iterations this can run for a while."
235234
]
236235
},
237236
{

how-to-use-azureml/automated-machine-learning/classification-text-dnn/auto-ml-classification-text-dnn.ipynb

+2-11
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
"metadata": {},
309309
"outputs": [],
310310
"source": [
311-
"automl_run = experiment.submit(automl_config, show_output=False)"
311+
"automl_run = experiment.submit(automl_config, show_output=True)"
312312
]
313313
},
314314
{
@@ -320,15 +320,6 @@
320320
"automl_run"
321321
]
322322
},
323-
{
324-
"cell_type": "code",
325-
"execution_count": null,
326-
"metadata": {},
327-
"outputs": [],
328-
"source": [
329-
"automl_run.wait_for_completion()"
330-
]
331-
},
332323
{
333324
"cell_type": "markdown",
334325
"metadata": {},
@@ -357,7 +348,7 @@
357348
"metadata": {},
358349
"outputs": [],
359350
"source": [
360-
"#best_run, fitted_model = local_run.get_output()"
351+
"#best_run, fitted_model = automl_run.get_output()"
361352
]
362353
},
363354
{

how-to-use-azureml/automated-machine-learning/forecasting-beer-remote/auto-ml-forecasting-beer-remote.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
"hidePrompt": false
377377
},
378378
"source": [
379-
"We will now run the experiment, starting with 10 iterations of model search. The experiment can be continued for more iterations if more accurate results are required. You will see the currently running iterations printing to the console."
379+
"We will now run the experiment, starting with 10 iterations of model search. The experiment can be continued for more iterations if more accurate results are required."
380380
]
381381
},
382382
{

how-to-use-azureml/deployment/accelerated-models/accelerated-models-quickstart.ipynb

+5-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,11 @@
345345
{
346346
"cell_type": "code",
347347
"execution_count": null,
348-
"metadata": {},
348+
"metadata": {
349+
"tags": [
350+
"sample-akscompute-provision"
351+
]
352+
},
349353
"outputs": [],
350354
"source": [
351355
"from azureml.core.compute import AksCompute, ComputeTarget\n",

how-to-use-azureml/deployment/accelerated-models/accelerated-models-training.ipynb

+5-1
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,11 @@
682682
{
683683
"cell_type": "code",
684684
"execution_count": null,
685-
"metadata": {},
685+
"metadata": {
686+
"tags": [
687+
"sample-akswebservice-deploy-from-image"
688+
]
689+
},
686690
"outputs": [],
687691
"source": [
688692
"%%time\n",

how-to-use-azureml/deployment/deploy-to-local/register-model-deploy-local.ipynb

+5-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,11 @@
166166
{
167167
"cell_type": "code",
168168
"execution_count": null,
169-
"metadata": {},
169+
"metadata": {
170+
"tags": [
171+
"sample-localwebservice-deploy"
172+
]
173+
},
170174
"outputs": [],
171175
"source": [
172176
"from azureml.core.webservice import LocalWebservice\n",

how-to-use-azureml/deployment/onnx/onnx-convert-aml-deploy-tinyyolo.ipynb

+24-4
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,6 @@
316316
"metadata": {},
317317
"outputs": [],
318318
"source": [
319-
"from azureml.core.webservice import Webservice\n",
320-
"from random import randint\n",
321-
"\n",
322319
"aci_service_name = 'my-aci-service-15ad'\n",
323320
"print(\"Service\", aci_service_name)\n",
324321
"aci_service = Model.deploy(ws, aci_service_name, [model], inference_config, aciconfig)\n",
@@ -386,6 +383,22 @@
386383
"name": "viswamy"
387384
}
388385
],
386+
"category": "deployment",
387+
"compute": [
388+
"local"
389+
],
390+
"datasets": [
391+
"PASCAL VOC"
392+
],
393+
"deployment": [
394+
"Azure Container Instance"
395+
],
396+
"exclude_from_index": false,
397+
"framework": [
398+
"ONNX"
399+
],
400+
"friendly_name": "Convert and deploy TinyYolo with ONNX Runtime",
401+
"index_order": 5,
389402
"kernelspec": {
390403
"display_name": "Python 3.6",
391404
"language": "python",
@@ -402,7 +415,14 @@
402415
"nbconvert_exporter": "python",
403416
"pygments_lexer": "ipython3",
404417
"version": "3.6.5"
405-
}
418+
},
419+
"star_tag": [
420+
"featured"
421+
],
422+
"tags": [
423+
"ONNX Converter"
424+
],
425+
"task": "Object Detection"
406426
},
407427
"nbformat": 4,
408428
"nbformat_minor": 2

how-to-use-azureml/deployment/onnx/onnx-convert-aml-deploy-tinyyolo.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ name: onnx-convert-aml-deploy-tinyyolo
22
dependencies:
33
- pip:
44
- azureml-sdk
5+
- numpy
56
- git+https://github.com/apple/[email protected]
67
- onnxmltools==1.3.1

how-to-use-azureml/deployment/onnx/onnx-inference-facial-expression-recognition-deploy.ipynb

+22-3
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,6 @@
391391
"metadata": {},
392392
"outputs": [],
393393
"source": [
394-
"from azureml.core.webservice import Webservice\n",
395-
"\n",
396394
"aci_service_name = 'onnx-demo-emotion'\n",
397395
"print(\"Service\", aci_service_name)\n",
398396
"aci_service = Model.deploy(ws, aci_service_name, [model], inference_config, aciconfig)\n",
@@ -755,6 +753,22 @@
755753
"name": "viswamy"
756754
}
757755
],
756+
"category": "deployment",
757+
"compute": [
758+
"local"
759+
],
760+
"datasets": [
761+
"Emotion FER"
762+
],
763+
"deployment": [
764+
"Azure Container Instance"
765+
],
766+
"exclude_from_index": false,
767+
"framework": [
768+
"ONNX"
769+
],
770+
"friendly_name": "Deploy Facial Expression Recognition (FER+) with ONNX Runtime",
771+
"index_order": 2,
758772
"kernelspec": {
759773
"display_name": "Python 3.6",
760774
"language": "python",
@@ -772,7 +786,12 @@
772786
"pygments_lexer": "ipython3",
773787
"version": "3.6.5"
774788
},
775-
"msauthor": "vinitra.swamy"
789+
"msauthor": "vinitra.swamy",
790+
"star_tag": [],
791+
"tags": [
792+
"ONNX Model Zoo"
793+
],
794+
"task": "Facial Expression Recognition"
776795
},
777796
"nbformat": 4,
778797
"nbformat_minor": 2

how-to-use-azureml/deployment/onnx/onnx-inference-mnist-deploy.ipynb

+22-3
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,6 @@
378378
"metadata": {},
379379
"outputs": [],
380380
"source": [
381-
"from azureml.core.webservice import Webservice\n",
382-
"\n",
383381
"aci_service_name = 'onnx-demo-mnist'\n",
384382
"print(\"Service\", aci_service_name)\n",
385383
"aci_service = Model.deploy(ws, aci_service_name, [model], inference_config, aciconfig)\n",
@@ -763,6 +761,22 @@
763761
"name": "viswamy"
764762
}
765763
],
764+
"category": "deployment",
765+
"compute": [
766+
"local"
767+
],
768+
"datasets": [
769+
"MNIST"
770+
],
771+
"deployment": [
772+
"Azure Container Instance"
773+
],
774+
"exclude_from_index": false,
775+
"framework": [
776+
"ONNX"
777+
],
778+
"friendly_name": "Deploy MNIST digit recognition with ONNX Runtime",
779+
"index_order": 1,
766780
"kernelspec": {
767781
"display_name": "Python 3.6",
768782
"language": "python",
@@ -780,7 +794,12 @@
780794
"pygments_lexer": "ipython3",
781795
"version": "3.6.5"
782796
},
783-
"msauthor": "vinitra.swamy"
797+
"msauthor": "vinitra.swamy",
798+
"star_tag": [],
799+
"tags": [
800+
"ONNX Model Zoo"
801+
],
802+
"task": "Image Classification"
784803
},
785804
"nbformat": 4,
786805
"nbformat_minor": 2

how-to-use-azureml/deployment/onnx/onnx-modelzoo-aml-deploy-resnet50.ipynb

+22-2
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@
302302
"metadata": {},
303303
"outputs": [],
304304
"source": [
305-
"from azureml.core.webservice import Webservice\n",
306305
"from random import randint\n",
307306
"\n",
308307
"aci_service_name = 'onnx-demo-resnet50'+str(randint(0,100))\n",
@@ -372,6 +371,22 @@
372371
"name": "viswamy"
373372
}
374373
],
374+
"category": "deployment",
375+
"compute": [
376+
"local"
377+
],
378+
"datasets": [
379+
"ImageNet"
380+
],
381+
"deployment": [
382+
"Azure Container Instance"
383+
],
384+
"exclude_from_index": false,
385+
"framework": [
386+
"ONNX"
387+
],
388+
"friendly_name": "Deploy ResNet50 with ONNX Runtime",
389+
"index_order": 4,
375390
"kernelspec": {
376391
"display_name": "Python 3.6",
377392
"language": "python",
@@ -388,7 +403,12 @@
388403
"nbconvert_exporter": "python",
389404
"pygments_lexer": "ipython3",
390405
"version": "3.6.5"
391-
}
406+
},
407+
"star_tag": [],
408+
"tags": [
409+
"ONNX Model Zoo"
410+
],
411+
"task": "Image Classification"
392412
},
393413
"nbformat": 4,
394414
"nbformat_minor": 2

how-to-use-azureml/deployment/onnx/onnx-train-pytorch-aml-deploy-mnist.ipynb

+21-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,6 @@
477477
"metadata": {},
478478
"outputs": [],
479479
"source": [
480-
"from azureml.core.webservice import Webservice\n",
481480
"from azureml.core.model import Model\n",
482481
"from random import randint\n",
483482
"\n",
@@ -548,6 +547,22 @@
548547
"name": "viswamy"
549548
}
550549
],
550+
"category": "deployment",
551+
"compute": [
552+
"AML Compute"
553+
],
554+
"datasets": [
555+
"MNIST"
556+
],
557+
"deployment": [
558+
"Azure Container Instance"
559+
],
560+
"exclude_from_index": false,
561+
"framework": [
562+
"ONNX"
563+
],
564+
"friendly_name": "Train MNIST in PyTorch, convert, and deploy with ONNX Runtime",
565+
"index_order": 3,
551566
"kernelspec": {
552567
"display_name": "Python 3.6",
553568
"language": "python",
@@ -565,6 +580,11 @@
565580
"pygments_lexer": "ipython3",
566581
"version": "3.6.6"
567582
},
583+
"star_tag": [],
584+
"tags": [
585+
"ONNX Converter"
586+
],
587+
"task": "Image Classification",
568588
"widgets": {
569589
"application/vnd.jupyter.widget-state+json": {
570590
"state": {

how-to-use-azureml/deployment/register-model-create-image-deploy-service/register-model-create-image-deploy-service.ipynb

+6-3
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@
235235
"execution_count": null,
236236
"metadata": {
237237
"tags": [
238-
"create image"
238+
"create image",
239+
"sample-image-create"
239240
]
240241
},
241242
"outputs": [],
@@ -330,7 +331,8 @@
330331
"metadata": {
331332
"tags": [
332333
"deploy service",
333-
"aci"
334+
"aci",
335+
"sample-aciwebservice-deploy-config"
334336
]
335337
},
336338
"outputs": [],
@@ -349,7 +351,8 @@
349351
"metadata": {
350352
"tags": [
351353
"deploy service",
352-
"aci"
354+
"aci",
355+
"sample-aciwebservice-deploy-from-image"
353356
]
354357
},
355358
"outputs": [],

how-to-use-azureml/machine-learning-pipelines/intro-to-pipelines/aml-pipelines-how-to-use-azurebatch-to-run-a-windows-executable.ipynb

+5-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,11 @@
110110
{
111111
"cell_type": "code",
112112
"execution_count": null,
113-
"metadata": {},
113+
"metadata": {
114+
"tags": [
115+
"sample-batchcompute-attach"
116+
]
117+
},
114118
"outputs": [],
115119
"source": [
116120
"batch_compute_name = 'mybatchcompute' # Name to associate with new compute in workspace\n",

0 commit comments

Comments
 (0)