Skip to content

Commit 554738f

Browse files
Fix numpy version for macos (#2704)
1 parent 769ef5f commit 554738f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

notebooks/ddcolor-image-colorization/ddcolor-image-colorization.ipynb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@
6161
"metadata": {},
6262
"outputs": [],
6363
"source": [
64+
"import platform\n",
65+
"\n",
66+
"\n",
67+
"if platform.system() == \"Darwin\":\n",
68+
" %pip install -q \"numpy<2.0.0\"\n",
69+
"\n",
70+
"\n",
6471
"%pip install -q \"nncf>=2.11.0\" \"torch>=2.1\" \"torchvision\" \"timm\" \"opencv_python\" \"pillow\" \"PyYAML\" \"scipy\" \"scikit-image\" \"datasets\" \"gradio>=4.19\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
6572
"%pip install -Uq \"openvino>=2024.3.0\""
6673
]

0 commit comments

Comments
 (0)