"docs/vscode:/vscode.git/clone" did not exist on "caa2718f383494390697040e5bf73cd602c4b498"
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 @@ ...@@ -116,7 +116,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"!pip uninstall -y opencv-python" "!pip install -q opencv-python"
] ]
}, },
{ {
......
...@@ -103,9 +103,7 @@ ...@@ -103,9 +103,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"# Uninstall colab's opencv-python, it conflicts with `opencv-python-headless`\n", "!pip install -q opencv-python"
"# which is installed by tf-models-official\n",
"!pip uninstall -y opencv-python"
] ]
}, },
{ {
......
...@@ -101,9 +101,8 @@ ...@@ -101,9 +101,8 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"# Uninstall opencv-python to avoid a conflict (in Colab) with the opencv-python-headless package that tf-models uses.\n", "!pip install -q opencv-python\n",
"!pip uninstall -y opencv-python\n", "!pip install tensorflow>=2.9.0 tf-models-official"
"!pip install -U -q \"tensorflow\u003e=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