diff --git a/.ci/skipped_nightly.yml b/.ci/skipped_nightly.yml index 23dd4a4a591..b98ece5882d 100644 --- a/.ci/skipped_nightly.yml +++ b/.ci/skipped_nightly.yml @@ -9,7 +9,5 @@ - cpu - notebook: notebooks/stable-fast-3d/stable-fast-3d.ipynb skips: - - python: - - '3.8' - os: - macos-12 diff --git a/.ci/skipped_notebooks.yml b/.ci/skipped_notebooks.yml index 06232479c8c..2e405e0a92c 100644 --- a/.ci/skipped_notebooks.yml +++ b/.ci/skipped_notebooks.yml @@ -358,8 +358,6 @@ - ubuntu-20.04 - ubuntu-22.04 - windows-2019 - - python: - - '3.8' - notebook: notebooks/kosmos2-multimodal-large-language-model/kosmos2-multimodal-large-language-model.ipynb skips: - os: @@ -491,14 +489,6 @@ skips: - os: - windows-2019 -- notebook: notebooks/surya-line-level-text-detection/surya-line-level-text-detection.ipynb - skips: - - python: - - '3.8' -- notebook: notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb - skips: - - python: - - '3.8' - notebook: notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb skips: - device: @@ -515,17 +505,14 @@ - notebook: notebooks/explainable-ai-1-basic/explainable-ai-1-basic.ipynb skips: - python: - - '3.8' - '3.9' - notebook: notebooks/explainable-ai-2-deep-dive/explainable-ai-2-deep-dive.ipynb skips: - python: - - '3.8' - '3.9' - notebook: notebooks/explainable-ai-3-map-interpretation/explainable-ai-3-map-interpretation.ipynb skips: - python: - - '3.8' - '3.9' - notebook: notebooks/minicpm-v-multimodal-chatbot/minicpm-v-multimodal-chatbot.ipynb skips: @@ -536,21 +523,13 @@ - windows-2019 - notebook: notebooks/stable-audio/stable-audio.ipynb skips: - - python: - - '3.8' - os: - macos-12 - ubuntu-20.04 - ubuntu-22.04 - windows-2019 -- notebook: notebooks/triposr-3d-reconstruction/triposr-3d-reconstruction.ipynb - skips: - - python: - - '3.8' - notebook: notebooks/llm-agent-react/llm-agent-rag-llamaindex.ipynb skips: - - python: - - '3.8' - os: - macos-12 - notebook: notebooks/phi-3-vision/phi-3-vision.ipynb @@ -583,8 +562,6 @@ - windows-2019 - notebook: notebooks/stable-fast-3d/stable-fast-3d.ipynb skips: - - python: - - '3.8' - os: - macos-12 - notebook: notebooks/mllama-3.2/mllama-3.2.ipynb @@ -593,15 +570,10 @@ - macos-12 - ubuntu-20.04 - ubuntu-22.04 - - windows-2019 -- notebook: notebooks/llm-agent-react/llm-agent-react-langchain.ipynb - skips: - - python: - - '3.8' + - windows-2019' - notebook: notebooks/segment-anything/segment-anything-2-image.ipynb skips: - python: - - '3.8' - '3.9' - os: - macos-12 @@ -609,7 +581,6 @@ - notebook: notebooks/segment-anything/segment-anything-2-video.ipynb skips: - python: - - '3.8' - '3.9' - os: - macos-12 diff --git a/.github/workflows/codecheck.yml b/.github/workflows/codecheck.yml index bf3c6262614..eaed8ab1be5 100644 --- a/.github/workflows/codecheck.yml +++ b/.github/workflows/codecheck.yml @@ -46,14 +46,14 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: 3.8 # change cachepip step when changing this + python-version: "3.10" # change cachepip step when changing this - name: Cache OpenVINO Pip Packages id: cachepip uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | pipcache - key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.8 + key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.10 - name: Cache openvino packages if: steps.cachepip.outputs.cache-hit != 'true' run: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index add3882a47d..28d03f671c4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: '3.8' + python-version: '3.9' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/convert_notebooks.yml b/.github/workflows/convert_notebooks.yml index 70c533a4cef..bda30929370 100644 --- a/.github/workflows/convert_notebooks.yml +++ b/.github/workflows/convert_notebooks.yml @@ -35,7 +35,7 @@ jobs: # Matrix is unnecessary here, but this allows easy copying of steps from treon.yml matrix: os: [ubuntu-22.04] - python: [3.8] + python: [3.9] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/install_requirements.yml b/.github/workflows/install_requirements.yml index 12b6a4120b9..e982eb845f5 100644 --- a/.github/workflows/install_requirements.yml +++ b/.github/workflows/install_requirements.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12] - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11'] steps: - name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 diff --git a/.github/workflows/install_requirements_china.yml b/.github/workflows/install_requirements_china.yml index ddfbc4dd578..472de4e869f 100644 --- a/.github/workflows/install_requirements_china.yml +++ b/.github/workflows/install_requirements_china.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04] - python: [3.8] + python: [3.9] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/pip_conflicts_check.yml b/.github/workflows/pip_conflicts_check.yml index 40e985b0b2b..7ae58ac3b5b 100644 --- a/.github/workflows/pip_conflicts_check.yml +++ b/.github/workflows/pip_conflicts_check.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: 3.8 # change cachepip step when changing this + python-version: 3.9 # change cachepip step when changing this - name: Install dependencies run: | diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 5e1a648b133..f8def3c8bba 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -44,7 +44,7 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: 3.8 # change cachepip step when changing this + python-version: 3.9 # change cachepip step when changing this - name: Cache OpenVINO Pip Packages id: cachepip @@ -52,7 +52,7 @@ jobs: with: path: | pipcache - key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.8 + key: ${{ env.PIP_CACHE_KEY }}-ubuntu-20.04-3.9 - name: Install dependencies run: | diff --git a/.github/workflows/treon.yml b/.github/workflows/treon.yml index 157394fe2ef..743500a1b57 100644 --- a/.github/workflows/treon.yml +++ b/.github/workflows/treon.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: runs_on: [ubuntu-20.04, ubuntu-22.04, windows-2019, macos-12] - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11'] uses: ./.github/workflows/build_treon_reusable.yml with: runs_on: ${{ matrix.runs_on }} @@ -37,7 +37,7 @@ jobs: fail-fast: false matrix: runs_on: ['gpu'] - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11'] container: ['ubuntu:20.04', 'ubuntu:22.04'] # Windows and macOS are not available in machine pool with GPU uses: ./.github/workflows/build_treon_reusable.yml with: @@ -55,7 +55,7 @@ jobs: - name: Set up Python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: - python-version: '3.8' + python-version: '3.9' - name: Collect artifacts with reports uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 with: diff --git a/.github/workflows/treon_precommit.yml b/.github/workflows/treon_precommit.yml index cc6a48a20a8..49cf6471962 100644 --- a/.github/workflows/treon_precommit.yml +++ b/.github/workflows/treon_precommit.yml @@ -38,7 +38,7 @@ jobs: fail-fast: true matrix: runs_on: [ubuntu-20.04, windows-2019, macos-12] - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11'] uses: ./.github/workflows/build_treon_reusable.yml with: runs_on: ${{ matrix.runs_on }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 44f2b4e2dca..4e217495fc7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -52,7 +52,7 @@ To do this, there are a few requirements that all notebooks need to pass. 1. The notebooks work on Windows, macOS and Linux (see [supported operating systems](https://github.com/openvinotoolkit/openvino_notebooks#%EF%B8%8F-system-requirements)) - with Python 3.8, 3.9, 3.10 and 3.11. + with Python 3.9, 3.10 and 3.11. 2. As a rule, the notebooks do not require installation of additional software that is not installable by `pip`. We do not assume that users have installed XCode Developer Tools, Visual C++ redistributable, `cmake`, etc. Please discuss if your notebook does need C++ - there are exceptions to this rule. diff --git a/README.md b/README.md index 002edfa16ad..ee16631c4a1 100644 --- a/README.md +++ b/README.md @@ -69,13 +69,13 @@ The notebooks run almost anywhere — your laptop, a cloud VM, or even a Doc | Supported Operating System | [Python Version (64-bit)](https://www.python.org/) | | :--------------------------------------------------------- |:---------------------------------------------------| -| Ubuntu 20.04 LTS, 64-bit | 3.8 - 3.11 | -| Ubuntu 22.04 LTS, 64-bit | 3.8 - 3.11 | -| Red Hat Enterprise Linux 8, 64-bit | 3.8 - 3.11 | -| CentOS 7, 64-bit | 3.8 - 3.11 | -| macOS 10.15.x versions or higher | 3.8 - 3.11 | -| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.8 - 3.11 | -| Windows Server 2016 or higher | 3.8 - 3.11 | +| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.11 | +| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.11 | +| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.11 | +| CentOS 7, 64-bit | 3.9 - 3.11 | +| macOS 10.15.x versions or higher | 3.9 - 3.11 | +| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.11 | +| Windows Server 2016 or higher | 3.9 - 3.11 | [![-----------------------------------------------------](https://user-images.githubusercontent.com/10940214/155750931-fc094349-b6ec-4e1f-9f9a-113e67941119.jpg)](#)
diff --git a/README_cn.md b/README_cn.md index 60e96cec715..bf7ba081f01 100644 --- a/README_cn.md +++ b/README_cn.md @@ -68,13 +68,13 @@ OpenVINO™ Notebooks需要预装Python和Git, 针对不同操作系统的安 | 支持的操作系统 | [Python Version (64-bit)](https://www.python.org/) | | :--------------------------------------------------------- |:---------------------------------------------------| -| Ubuntu 20.04 LTS, 64-bit | 3.8 - 3.11 | -| Ubuntu 22.04 LTS, 64-bit | 3.8 - 3.11 | -| Red Hat Enterprise Linux 8, 64-bit | 3.8 - 3.11 | -| CentOS 7, 64-bit | 3.8 - 3.11 | -| macOS 10.15.x versions or higher | 3.8 - 3.11 | -| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.8 - 3.11 | -| Windows Server 2016 or higher | 3.8 - 3.11 | +| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.11 | +| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.11 | +| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.11 | +| CentOS 7, 64-bit | 3.9 - 3.11 | +| macOS 10.15.x versions or higher | 3.9 - 3.11 | +| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.11 | +| Windows Server 2016 or higher | 3.9 - 3.11 | [![-----------------------------------------------------](https://user-images.githubusercontent.com/10940214/155750931-fc094349-b6ec-4e1f-9f9a-113e67941119.jpg)](#) diff --git a/check_install.py b/check_install.py index f8450cf4188..78a02184e4f 100644 --- a/check_install.py +++ b/check_install.py @@ -123,7 +123,7 @@ def kernel_check(): print( "If you have multiple Python version installed, use the full path to the Python\n" "executable for creating the virtual environment with a specific Python version.\n" - "For example: `/usr/bin/python3.8 -m venv openvino_env`. Once you have activated\n" + "For example: `/usr/bin/python3.10 -m venv openvino_env`. Once you have activated\n" "the virtual environment you can type just `python` again.\n" ) diff --git a/notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb b/notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb index 47db686ded7..384122d8cea 100644 --- a/notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb +++ b/notebooks/big-transfer-quantization/tensorflow-bit-image-classification-nncf-quantization.ipynb @@ -43,11 +43,8 @@ "import platform\n", "\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n", "\n", "%pip install -q \"openvino>=2024.0.0\" \"nncf>=2.7.0\" \"tensorflow-hub>=0.15.0\" tf_keras\n", "%pip install -q \"scikit-learn>=1.3.2\"\n", diff --git a/notebooks/gpu-device/gpu-device.ipynb b/notebooks/gpu-device/gpu-device.ipynb index 5a27a471a38..cad6e58916d 100644 --- a/notebooks/gpu-device/gpu-device.ipynb +++ b/notebooks/gpu-device/gpu-device.ipynb @@ -107,11 +107,8 @@ "source": [ "%pip install -q \"openvino-dev>=2024.0.0\" \"opencv-python\" \"tqdm\"\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"" + "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"" ] }, { diff --git a/notebooks/optimize-preprocessing/optimize-preprocessing.ipynb b/notebooks/optimize-preprocessing/optimize-preprocessing.ipynb index 3db014130a8..9f0af753d79 100644 --- a/notebooks/optimize-preprocessing/optimize-preprocessing.ipynb +++ b/notebooks/optimize-preprocessing/optimize-preprocessing.ipynb @@ -87,11 +87,8 @@ " %pip install -q \"matplotlib>=3.4,<3.7\"\n", "\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version <= '3.8'\"\n", "%pip install -q tf_keras tensorflow_hub" ] }, diff --git a/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb b/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb index b52b95bd33f..783d318a6aa 100644 --- a/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb +++ b/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb @@ -58,11 +58,8 @@ "%pip install -Uq pip\n", "%pip install --upgrade --pre openvino-tokenizers \"openvino>=2024.2.0\" --extra-index-url \"https://storage.openvinotoolkit.org/simple/wheels/nightly\"\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n", "\n", "%pip install -q tensorflow_hub tf_keras numpy \"opencv-python\" \"nncf>=2.10.0\"\n", "if platform.system() != \"Windows\":\n", diff --git a/notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb b/notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb index cc9be80e002..2c9ab7665e2 100644 --- a/notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb +++ b/notebooks/speechbrain-emotion-recognition/speechbrain-emotion-recognition.ipynb @@ -7,7 +7,6 @@ "source": [ "# SpeechBrain Emotion Recognition with OpenVINO\n", "\n", - "
Important note: This notebook requires python >= 3.9. Please make sure that your environment fulfill to this requirement before running it
\n", "\n", "[SpeechBrain](https://github.com/speechbrain/speechbrain) is an open-source PyTorch toolkit that accelerates Conversational AI development, i.e., the technology behind speech assistants, chatbots, and large language models. \n", "\n", diff --git a/notebooks/stable-audio/stable-audio.ipynb b/notebooks/stable-audio/stable-audio.ipynb index 07e321a403e..6e13c9b5f1a 100644 --- a/notebooks/stable-audio/stable-audio.ipynb +++ b/notebooks/stable-audio/stable-audio.ipynb @@ -50,8 +50,7 @@ "metadata": {}, "source": [ "## Prerequisites\n", - "[back to top ⬆️](#Table-of-contents:)\n", - ">**Note**: using python3.8 can take a long time to resolve dependency conflicts." + "[back to top ⬆️](#Table-of-contents:)" ] }, { diff --git a/notebooks/stable-diffusion-keras-cv/stable-diffusion-keras-cv.ipynb b/notebooks/stable-diffusion-keras-cv/stable-diffusion-keras-cv.ipynb index 16d4455806d..0931864546c 100644 --- a/notebooks/stable-diffusion-keras-cv/stable-diffusion-keras-cv.ipynb +++ b/notebooks/stable-diffusion-keras-cv/stable-diffusion-keras-cv.ipynb @@ -7,8 +7,6 @@ "source": [ "# Stable Diffusion with KerasCV and OpenVINO\n", "\n", - "
Important note: This notebook requires python >= 3.9. Please make sure that your environment fulfill to this requirement before running it
\n", - "\n", "Stable Diffusion is a powerful, open-source text-to-image generation model. There are multiple implementations of this pipeline in different frameworks. Previously, we already considered how to convert and optimize [PyTorch Stable Diffusion using HuggingFace Diffusers library](https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/stable-diffusion-text-to-image/stable-diffusion-text-to-image.ipynb). In this tutorial, we consider how to convert and run [Stable Diffusion from KerasCV](https://www.tensorflow.org/tutorials/generative/generate_images_with_stable_diffusion) that employs graph mode execution, which enhances performance by leveraging graph optimization and enabling parallelism and in the same time maintains a user-friendly interface for image generation. An additional part demonstrates how to run optimization with [NNCF](https://github.com/openvinotoolkit/nncf/) to speed up pipeline.\n", "\n", "#### Table of contents:\n", diff --git a/notebooks/tensorflow-classification-to-openvino/tensorflow-classification-to-openvino.ipynb b/notebooks/tensorflow-classification-to-openvino/tensorflow-classification-to-openvino.ipynb index d7d5ec521eb..fa8037840e7 100644 --- a/notebooks/tensorflow-classification-to-openvino/tensorflow-classification-to-openvino.ipynb +++ b/notebooks/tensorflow-classification-to-openvino/tensorflow-classification-to-openvino.ipynb @@ -53,11 +53,8 @@ "else:\n", " %pip install -q \"matplotlib>=3.4,<3.7\"\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n", "%pip install -q tf_keras tensorflow_hub tqdm" ] }, diff --git a/notebooks/tensorflow-hub/tensorflow-hub.ipynb b/notebooks/tensorflow-hub/tensorflow-hub.ipynb index 1d39170021d..dbd4665e1a4 100644 --- a/notebooks/tensorflow-hub/tensorflow-hub.ipynb +++ b/notebooks/tensorflow-hub/tensorflow-hub.ipynb @@ -68,11 +68,8 @@ " %pip install -q \"matplotlib>=3.4,<3.7\"\n", "\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"\n", "%pip install -q tf_keras tensorflow_hub" ] }, diff --git a/notebooks/tensorflow-object-detection-to-openvino/tensorflow-instance-segmentation-to-openvino.ipynb b/notebooks/tensorflow-object-detection-to-openvino/tensorflow-instance-segmentation-to-openvino.ipynb index 05df46c56a3..1d687a96dc2 100644 --- a/notebooks/tensorflow-object-detection-to-openvino/tensorflow-instance-segmentation-to-openvino.ipynb +++ b/notebooks/tensorflow-object-detection-to-openvino/tensorflow-instance-segmentation-to-openvino.ipynb @@ -69,11 +69,8 @@ " %pip install -q \"matplotlib>=3.4,<3.7\"\n", "\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"" + "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"" ] }, { diff --git a/notebooks/tensorflow-object-detection-to-openvino/tensorflow-object-detection-to-openvino.ipynb b/notebooks/tensorflow-object-detection-to-openvino/tensorflow-object-detection-to-openvino.ipynb index 34cde38243e..11d44ca07d1 100644 --- a/notebooks/tensorflow-object-detection-to-openvino/tensorflow-object-detection-to-openvino.ipynb +++ b/notebooks/tensorflow-object-detection-to-openvino/tensorflow-object-detection-to-openvino.ipynb @@ -69,11 +69,8 @@ "else:\n", " %pip install -q \"matplotlib>=3.4,<3.7\"\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", - "%pip install -q \"tensorflow-macos>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version <= '3.8'\" # macOS x86\n", - "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", - "%pip install -q \"tensorflow>=2.5,<=2.12.0; sys_platform != 'darwin' and python_version <= '3.8'\"" + "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"" ] }, { diff --git a/notebooks/triposr-3d-reconstruction/triposr-3d-reconstruction.ipynb b/notebooks/triposr-3d-reconstruction/triposr-3d-reconstruction.ipynb index f8c46f07907..5084b3145f6 100644 --- a/notebooks/triposr-3d-reconstruction/triposr-3d-reconstruction.ipynb +++ b/notebooks/triposr-3d-reconstruction/triposr-3d-reconstruction.ipynb @@ -8,7 +8,6 @@ "source": [ "# TripoSR feedforward 3D reconstruction from a single image and OpenVINO\n", "\n", - "
Important note: This notebook requires python >= 3.9. Please make sure that your environment fulfill to this requirement before running it
\n", "[TripoSR](https://huggingface.co/spaces/stabilityai/TripoSR) is a state-of-the-art open-source model for fast feedforward 3D reconstruction from a single image, developed in collaboration between [Tripo AI](https://www.tripo3d.ai/) and [Stability AI](https://stability.ai/news/triposr-3d-generation).\n", "\n", "You can find [the source code on GitHub](https://github.com/VAST-AI-Research/TripoSR) and [demo on HuggingFace](https://huggingface.co/spaces/stabilityai/TripoSR). Also, you can read the paper [TripoSR: Fast 3D Object Reconstruction from a Single Image](https://arxiv.org/abs/2403.02151).\n",