From 2ab0d07a663dd30e8b894c917e4acc286760beac Mon Sep 17 00:00:00 2001 From: frasertajima <69366820+frasertajima@users.noreply.github.com> Date: Wed, 31 May 2023 13:37:15 -0700 Subject: [PATCH] Update super_resolution_with_onnxruntime.py Fix for #1781 "tutorials/advanced_source/super_resolution_with_onnxruntime.py is maybe outdated?" References to requirements are out of date according to ONNX documentation (https://onnxruntime.ai/docs/reference/compatibility.html) which recommends the latest stable PyTorch version. Rather than manually update the version number with the current stable version (e.g., 2.0.1), as long as ONNX maintains compatibility with the lastest stable version that reference should be sufficient and constantly up to date. --- advanced_source/super_resolution_with_onnxruntime.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/advanced_source/super_resolution_with_onnxruntime.py b/advanced_source/super_resolution_with_onnxruntime.py index eb184e85109..835a79bd3a0 100644 --- a/advanced_source/super_resolution_with_onnxruntime.py +++ b/advanced_source/super_resolution_with_onnxruntime.py @@ -16,10 +16,7 @@ and `ONNX Runtime `__. You can get binary builds of ONNX and ONNX Runtime with ``pip install onnx onnxruntime``. -Note that ONNX Runtime is compatible with Python versions 3.5 to 3.7. - -``NOTE``: This tutorial needs PyTorch master branch which can be installed by following -the instructions `here `__ +ONNX Runtime recommends using the latest stable runtime for PyTorch. """