summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 12:12:58 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 12:12:58 +0000
commit9fc0f7f04612337aaac50f5178c1040e6f10310d (patch)
tree1dcc6c59dd041aaf8cf2b5ad2c08fdcc7661da6c
parentcb9ceb1b58b422df16af4fec4ee11ad4be428857 (diff)
automatic import of torchvision
-rw-r--r--torchvision.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/torchvision.spec b/torchvision.spec
index a2f293b..5dc7afc 100644
--- a/torchvision.spec
+++ b/torchvision.spec
@@ -8,6 +8,9 @@ Source: https://github.com/pytorch/vision/archive/refs/tags/v0.16.2.tar.gz
URL: https://github.com/pytorch/vision
BuildRoot: %{_tmppath}/%{name}-buildroot
+Requires: python3-pytorch
+Requires: python3-requests
+
%description
Torchvision is a PyTorch add-on that provides access to:
- Datasets (MNIST, CIFAR10, etc.)