diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/prepare_data.py b/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/prepare_data.py index 260c2e4f981..7044e9282c6 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/prepare_data.py +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/prepare_data.py @@ -83,7 +83,9 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): ) # Install numpy version compatible with scikit-image==0.19.3. subprocess.check_call([sys.executable, "-m", "pip", "install", "numpy==1.26.4"]) - subprocess.check_call([sys.executable, "-m", "pip", "install", "simplification"]) + subprocess.check_call( + [sys.executable, "-m", "pip", "install", "simplification==0.7.12"] + ) print("done") print("Creating jsonl files") diff --git a/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/prepare_data.py b/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/prepare_data.py index 6f3548538ec..6cd518ced51 100644 --- a/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/prepare_data.py +++ b/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/prepare_data.py @@ -83,7 +83,9 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): ) # Install numpy version compatible with scikit-image==0.19.3. subprocess.check_call([sys.executable, "-m", "pip", "install", "numpy==1.26.4"]) - subprocess.check_call([sys.executable, "-m", "pip", "install", "simplification"]) + subprocess.check_call( + [sys.executable, "-m", "pip", "install", "simplification==0.7.12"] + ) print("done") print("Creating jsonl files") 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 1f58d184c98..2434b415c6e 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 @@ -255,7 +255,7 @@ "outputs": [], "source": [ "!pip install pycocotools\n", - "!pip install simplification\n", + "!pip install simplification==0.7.12\n", "!pip install scikit-image" ] }, diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring/image-object-detection-batch-scoring-non-mlflow-model.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring/image-object-detection-batch-scoring-non-mlflow-model.ipynb index d858ad71eef..46658d6a187 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring/image-object-detection-batch-scoring-non-mlflow-model.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring/image-object-detection-batch-scoring-non-mlflow-model.ipynb @@ -242,7 +242,7 @@ "outputs": [], "source": [ "!pip install pycocotools\n", - "!pip install simplification\n", + "!pip install simplification==0.7.12\n", "!pip install scikit-image" ] },