Commit 769fbfba authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Merge pull request #10766 from tensorflow:update-opencv-install

PiperOrigin-RevId: 476275145
parents 3dd069c2 cf4a510e
......@@ -116,7 +116,7 @@
},
"outputs": [],
"source": [
"!pip uninstall -y opencv-python"
"!pip install -q opencv-python"
]
},
{
......
......@@ -103,9 +103,7 @@
},
"outputs": [],
"source": [
"# Uninstall colab's opencv-python, it conflicts with `opencv-python-headless`\n",
"# which is installed by tf-models-official\n",
"!pip uninstall -y opencv-python"
"!pip install -q opencv-python"
]
},
{
......
......@@ -101,9 +101,8 @@
},
"outputs": [],
"source": [
"# Uninstall opencv-python to avoid a conflict (in Colab) with the opencv-python-headless package that tf-models uses.\n",
"!pip uninstall -y opencv-python\n",
"!pip install -U -q \"tensorflow\u003e=2.9.0\" \"tf-models-official\""
"!pip install -q opencv-python\n",
"!pip install tensorflow>=2.9.0 tf-models-official"
]
},
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment