Skip to content

Commit

Permalink
pin simplification package version to avoid numpy version update (#3439)
Browse files Browse the repository at this point in the history
* pin simplification package version to avoid numpy version update

* pin simplification package

* pin simplification package

* reformat files
  • Loading branch information
hakotesova authored Nov 6, 2024
1 parent 6b37f75 commit 47af267
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand Down

0 comments on commit 47af267

Please sign in to comment.