From 72d187e7ecbeedff921eca213852ac840fd3e261 Mon Sep 17 00:00:00 2001 From: rdondera-microsoft <98922913+rdondera-microsoft@users.noreply.github.com> Date: Mon, 12 Dec 2022 11:55:19 -0800 Subject: [PATCH] Remove timeouts for AutoMode to reduce potential for confusion (#1968) * Remove timeout for AutoMode examples. * Reformat. * Update sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb Co-authored-by: sharma-riti <52715641+sharma-riti@users.noreply.github.com> * Update sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb Co-authored-by: sharma-riti <52715641+sharma-riti@users.noreply.github.com> * Update sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb Co-authored-by: sharma-riti <52715641+sharma-riti@users.noreply.github.com> * Update sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb Co-authored-by: sharma-riti <52715641+sharma-riti@users.noreply.github.com> * Fix the suggestions. Co-authored-by: sharma-riti <52715641+sharma-riti@users.noreply.github.com> --- ...-multiclass-task-fridge-items-automode.yml | 1 - ...-multilabel-task-fridge-items-automode.yml | 1 - ...egmentation-task-fridge-items-automode.yml | 1 - ...t-detection-task-fridge-items-automode.yml | 1 - ...ication-multiclass-task-fridge-items.ipynb | 74 +++++++++---------- ...ication-multilabel-task-fridge-items.ipynb | 68 ++++++++--------- ...tance-segmentation-task-fridge-items.ipynb | 67 ++++++++--------- ...e-object-detection-task-fridge-items.ipynb | 73 +++++++++--------- 8 files changed, 142 insertions(+), 144 deletions(-) diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/cli-automl-image-classification-multiclass-task-fridge-items-automode.yml b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/cli-automl-image-classification-multiclass-task-fridge-items-automode.yml index 156aa2efff..309879bd18 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/cli-automl-image-classification-multiclass-task-fridge-items-automode.yml +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/cli-automl-image-classification-multiclass-task-fridge-items-automode.yml @@ -22,6 +22,5 @@ validation_data: type: mltable limits: - timeout_minutes: 60 max_trials: 10 max_concurrent_trials: 2 diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/cli-automl-image-classification-multilabel-task-fridge-items-automode.yml b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/cli-automl-image-classification-multilabel-task-fridge-items-automode.yml index 27d00e0a40..488d36cefe 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/cli-automl-image-classification-multilabel-task-fridge-items-automode.yml +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/cli-automl-image-classification-multilabel-task-fridge-items-automode.yml @@ -21,6 +21,5 @@ validation_data: type: mltable limits: - timeout_minutes: 60 max_trials: 10 max_concurrent_trials: 2 diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/cli-automl-image-instance-segmentation-task-fridge-items-automode.yml b/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/cli-automl-image-instance-segmentation-task-fridge-items-automode.yml index 92a0181fd7..a117e9759f 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/cli-automl-image-instance-segmentation-task-fridge-items-automode.yml +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/cli-automl-image-instance-segmentation-task-fridge-items-automode.yml @@ -21,6 +21,5 @@ validation_data: type: mltable limits: - timeout_minutes: 60 max_trials: 10 max_concurrent_trials: 2 diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/cli-automl-image-object-detection-task-fridge-items-automode.yml b/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/cli-automl-image-object-detection-task-fridge-items-automode.yml index b87f983025..b72cd735e9 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/cli-automl-image-object-detection-task-fridge-items-automode.yml +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/cli-automl-image-object-detection-task-fridge-items-automode.yml @@ -30,7 +30,6 @@ validation_data: # limits: - timeout_minutes: 60 max_trials: 10 max_concurrent_trials: 2 # diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb index 03e777b6c1..64777f8654 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb @@ -506,7 +506,8 @@ ")\n", "\n", "image_classification_job.set_limits(\n", - " timeout_minutes=60, max_trials=5, max_concurrent_trials=2\n", + " max_trials=10,\n", + " max_concurrent_trials=2,\n", ")" ] }, @@ -1395,41 +1396,40 @@ } ], "metadata": { - "interpreter": { - "hash": "da404a94b19d2e6a57be28cbcf6e71fbd41612916c3423bc5e257c11b3d83fa0" - }, - "kernel_info": { - "name": "python3-azureml" - }, - "kernelspec": { - "display_name": "Python 3.10 - SDK V2", - "language": "python", - "name": "python310-sdkv2" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.7.10" - }, - "microsoft": { - "host": { - "AzureML": { - "notebookHasBeenCompleted": true - } - } - }, - "nteract": { - "version": "nteract-front-end@1.0.0" - } + "interpreter": { + "hash": "da404a94b19d2e6a57be28cbcf6e71fbd41612916c3423bc5e257c11b3d83fa0" + }, + "kernel_info": { + "name": "python3-azureml" + }, + "kernelspec": { + "display_name": "Python 3.10 - SDK V2", + "language": "python", + "name": "python310-sdkv2" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 }, - "nbformat": 4, - "nbformat_minor": 4 + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.10" + }, + "microsoft": { + "host": { + "AzureML": { + "notebookHasBeenCompleted": true + } + } + }, + "nteract": { + "version": "nteract-front-end@1.0.0" } - + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb index 5a2f101ae7..313b91986a 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb @@ -498,7 +498,8 @@ ")\n", "\n", "image_classification_multilabel_job.set_limits(\n", - " timeout_minutes=60, max_trials=5, max_concurrent_trials=2\n", + " max_trials=10,\n", + " max_concurrent_trials=2,\n", ")" ] }, @@ -1391,38 +1392,37 @@ } ], "metadata": { - "kernel_info": { - "name": "python3-azureml" - }, - "kernelspec": { - "display_name": "Python 3.10 - SDK V2", - "language": "python", - "name": "python310-sdkv2" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.12" - }, - "microsoft": { - "host": { - "AzureML": { - "notebookHasBeenCompleted": true - } - } - }, - "nteract": { - "version": "nteract-front-end@1.0.0" - } + "kernel_info": { + "name": "python3-azureml" + }, + "kernelspec": { + "display_name": "Python 3.10 - SDK V2", + "language": "python", + "name": "python310-sdkv2" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 }, - "nbformat": 4, - "nbformat_minor": 4 + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.12" + }, + "microsoft": { + "host": { + "AzureML": { + "notebookHasBeenCompleted": true + } + } + }, + "nteract": { + "version": "nteract-front-end@1.0.0" } - + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb index 8083caf87f..e9c0076cfd 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb @@ -476,7 +476,8 @@ ")\n", "\n", "image_instance_segmentation_job.set_limits(\n", - " timeout_minutes=60, max_trials=5, max_concurrent_trials=2\n", + " max_trials=10,\n", + " max_concurrent_trials=2,\n", ")" ] }, @@ -1290,37 +1291,37 @@ } ], "metadata": { - "kernel_info": { - "name": "python3-azureml" - }, - "kernelspec": { - "display_name": "Python 3.10 - SDK V2", - "language": "python", - "name": "python310-sdkv2" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.7.10" - }, - "microsoft": { - "host": { - "AzureML": { - "notebookHasBeenCompleted": true - } - } - }, - "nteract": { - "version": "nteract-front-end@1.0.0" - } + "kernel_info": { + "name": "python3-azureml" + }, + "kernelspec": { + "display_name": "Python 3.10 - SDK V2", + "language": "python", + "name": "python310-sdkv2" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 }, - "nbformat": 4, - "nbformat_minor": 4 + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.10" + }, + "microsoft": { + "host": { + "AzureML": { + "notebookHasBeenCompleted": true + } + } + }, + "nteract": { + "version": "nteract-front-end@1.0.0" } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb index e092d01ed4..124ba503e0 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb @@ -559,7 +559,8 @@ ")\n", "\n", "image_object_detection_job.set_limits(\n", - " timeout_minutes=60, max_trials=5, max_concurrent_trials=2\n", + " max_trials=10,\n", + " max_concurrent_trials=2,\n", ")" ] }, @@ -1435,40 +1436,40 @@ } ], "metadata": { - "interpreter": { - "hash": "c436929fd2d0a15e8f5a4bf2b00fe0013508b12c8f1f7fa176c1f6c61998c0e5" - }, - "kernel_info": { - "name": "python3-azureml" - }, - "kernelspec": { - "display_name": "Python 3.10 - SDK V2", - "language": "python", - "name": "python310-sdkv2" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.8.13" - }, - "microsoft": { - "host": { - "AzureML": { - "notebookHasBeenCompleted": true - } - } - }, - "nteract": { - "version": "nteract-front-end@1.0.0" - } + "interpreter": { + "hash": "c436929fd2d0a15e8f5a4bf2b00fe0013508b12c8f1f7fa176c1f6c61998c0e5" + }, + "kernel_info": { + "name": "python3-azureml" + }, + "kernelspec": { + "display_name": "Python 3.10 - SDK V2", + "language": "python", + "name": "python310-sdkv2" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 }, - "nbformat": 4, - "nbformat_minor": 4 + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.13" + }, + "microsoft": { + "host": { + "AzureML": { + "notebookHasBeenCompleted": true + } + } + }, + "nteract": { + "version": "nteract-front-end@1.0.0" } + }, + "nbformat": 4, + "nbformat_minor": 4 +}