summaryrefslogtreecommitdiff
path: root/torchvision.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 16:32:24 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 16:32:24 +0000
commitbbe0633e231bbebd88b43903953302a6e8882c3a (patch)
treea6e16dddfc43958156ab16b3866893f8ce122fbf /torchvision.spec
parent260ce9157a7d34f7c4882458f03c2e91c216ac8f (diff)
automatic import of torchvision
Diffstat (limited to 'torchvision.spec')
-rw-r--r--torchvision.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/torchvision.spec b/torchvision.spec
index 99a6a01..156a15b 100644
--- a/torchvision.spec
+++ b/torchvision.spec
@@ -1,13 +1,12 @@
Summary: The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision.
Name: torchvision
-Version: 0.16.2
+Version: 0.17.2
Release: 1
License: BSD
Group: Development/Libraries
-Source0: https://github.com/pytorch/vision/archive/refs/tags/v0.16.2.tar.gz
+Source0: https://github.com/pytorch/vision/archive/refs/tags/v0.17.2.tar.gz
URL: https://github.com/pytorch/vision
BuildRoot: %{_tmppath}/%{name}-buildroot
-Patch0: tst.patch
Requires: python3-pytorch
Requires: python3-numpy
@@ -45,11 +44,10 @@ Torchvision is a PyTorch add-on that provides access to:
- Models (ResNet, VGG, etc.)
- Transforms (for image preprocessing)
-%global pypi_version 0.16.2
+%global pypi_version 0.17.2
%prep
%autosetup -p1 -n vision-%{pypi_version}
-%patch -P 0 -p1
%build
%pyproject_build