Skip to main content

image and video datasets and models for torch deep learning

Project description

torchvision

total torchvision downloads documentation

The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision.

Installation

Please refer to the official instructions to install the stable versions of torch and torchvision on your system.

To build source, refer to our contributing page.

The following is the corresponding torchvision versions and supported Python versions.

torch torchvision Python
main / nightly main / nightly >=3.10, <=3.14
2.12 0.27 >=3.10, <=3.14
2.11 0.26 >=3.10, <=3.14
2.10 0.25 >=3.10, <=3.14
2.9 0.24 >=3.10, <=3.14
2.8 0.23 >=3.9, <=3.13
2.7 0.22 >=3.9, <=3.13
2.6 0.21 >=3.9, <=3.12
older versions
torch torchvision Python
2.5 0.20 >=3.9, <=3.12
2.4 0.19 >=3.8, <=3.12
2.3 0.18 >=3.8, <=3.12
2.2 0.17 >=3.8, <=3.11
2.1 0.16 >=3.8, <=3.11
2.0 0.15 >=3.8, <=3.11
1.13 0.14 >=3.7.2, <=3.10
1.12 0.13 >=3.7, <=3.10
1.11 0.12 >=3.7, <=3.10
1.10 0.11 >=3.6, <=3.9
1.9 0.10 >=3.6, <=3.9
1.8 0.9 >=3.6, <=3.9
1.7 0.8 >=3.6, <=3.9
1.6 0.7 >=3.6, <=3.8
1.5 0.6 >=3.5, <=3.8
1.4 0.5 ==2.7, >=3.5, <=3.8
1.3 0.4.2 / 0.4.3 ==2.7, >=3.5, <=3.7
1.2 0.4.1 ==2.7, >=3.5, <=3.7
1.1 0.3 ==2.7, >=3.5, <=3.7
<=1.0 0.2 ==2.7, >=3.5, <=3.7

Image Backends

Torchvision currently supports the following image backends:

  • torch tensors
  • PIL images:

Read more in in our docs.

Documentation

You can find the API documentation on the pytorch website: https://pytorch.org/vision/stable/index.html

Contributing

See the CONTRIBUTING file for how to help out.

Disclaimer on Datasets

This is a utility library that downloads and prepares public datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have license to use the dataset. It is your responsibility to determine whether you have permission to use the dataset under the dataset's license.

If you're a dataset owner and wish to update any part of it (description, citation, etc.), or do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thanks for your contribution to the ML community!

Pre-trained Model License

The pre-trained models provided in this library may have their own licenses or terms and conditions derived from the dataset used for training. It is your responsibility to determine whether you have permission to use the models for your use case.

More specifically, SWAG models are released under the CC-BY-NC 4.0 license. See SWAG LICENSE for additional details.

Citing TorchVision

If you find TorchVision useful in your work, please consider citing the following BibTeX entry:

@software{torchvision2016,
    title        = {TorchVision: PyTorch's Computer Vision library},
    author       = {TorchVision maintainers and contributors},
    year         = 2016,
    journal      = {GitHub repository},
    publisher    = {GitHub},
    howpublished = {\url{https://github.com/pytorch/vision}}
}

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

torchvision-0.28.0-cp314-cp314t-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.14tWindows x86-64

torchvision-0.28.0-cp314-cp314t-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

torchvision-0.28.0-cp314-cp314t-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

torchvision-0.28.0-cp314-cp314t-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14tmacOS 14.0+ ARM64

torchvision-0.28.0-cp314-cp314-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.14Windows x86-64

torchvision-0.28.0-cp314-cp314-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

torchvision-0.28.0-cp314-cp314-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

torchvision-0.28.0-cp314-cp314-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

torchvision-0.28.0-cp313-cp313-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.13Windows x86-64

torchvision-0.28.0-cp313-cp313-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

torchvision-0.28.0-cp313-cp313-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

torchvision-0.28.0-cp313-cp313-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

torchvision-0.28.0-cp312-cp312-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.12Windows x86-64

torchvision-0.28.0-cp312-cp312-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

torchvision-0.28.0-cp312-cp312-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

torchvision-0.28.0-cp312-cp312-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

torchvision-0.28.0-cp311-cp311-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.11Windows x86-64

torchvision-0.28.0-cp311-cp311-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

torchvision-0.28.0-cp311-cp311-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

torchvision-0.28.0-cp311-cp311-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

torchvision-0.28.0-cp310-cp310-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.10Windows x86-64

torchvision-0.28.0-cp310-cp310-manylinux_2_28_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

torchvision-0.28.0-cp310-cp310-manylinux_2_28_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

torchvision-0.28.0-cp310-cp310-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file torchvision-0.28.0-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 46f581979c010ad6da6bd85ee602aa707e1ff44312670223b7a0ee517ad06d47
MD5 edaad8562ff69e64ea9d2a90b90327ce
BLAKE2b-256 18d423aea03b28297bc66a4461f55ae4296368a9d85fa9a454bafcb2a5348bd7

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 904cf89af220f8c6b2ed0296bb5065b474ce43b77558e48b2bf9de8b0ba17204
MD5 f9dd006c2818de98b80361980f6ac7dd
BLAKE2b-256 d9823e0a7ad18e99831e2d7f4713d3be717b7159ff5a920862dd5c23c454aa71

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 62c7d110f86a039245b587e4fae60278c649f3bd42ff79cfbc1178eca4e72542
MD5 6fef41a4c7be201fdf2e4f79d7ee4683
BLAKE2b-256 7fd1cd3f9463b39a790ec8c0c2f6e6c8061edb1562114d04fcdfa786ed889345

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp314-cp314t-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp314-cp314t-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 09ce8f56e81f19b9c378ae7bb109f83f6659fd8bc3cd14241a48e4af46e9ed49
MD5 84113c94f79426a8180208c521882d7f
BLAKE2b-256 6a80822a6163da716f8a78141cf6678d74e26a572285d4ea866ef8aa657bb307

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 3557cc7b539f46dabcda2b6f2b14017ccbeef024de466d4fc5835fc3f287f769
MD5 d11a300fdf348f68762fb88c3361430b
BLAKE2b-256 15154c5115253fd470672cdac0a1cf139e06b4f3e29d041238a2b255937f63be

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 36beb0782976906069ca03d4c9aacaf4b6b838b06ed6c20960ea9c51cce7acdd
MD5 705c292c6548339c4307154929075a71
BLAKE2b-256 b34131f8e959ab8f942600b6357f8999c21d779d5fd3304b0fd204ff4b518239

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 89f90e29b0966352811b12589f3a3c61943bf2bb9487b9d7bbec10efb1096bb5
MD5 e719682b030f67c0eb6a933c533e1af3
BLAKE2b-256 06d6313aafd3df4eaf5f330211bd4e75b7598bddbfee4f55580d3b58536e1b20

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3bd9dba55224a9db4a2d77f6feaa5651770d8c8e86d3d0ddb0fa6bec54c8712b
MD5 c8812b0cbbb1c6fb5bb51948ad73508e
BLAKE2b-256 c5b9da40eca5bbe9596c12ae9899ab7abaf887f5e20f29d08b924b4633714821

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7e9dd6f60d6e15f8dc27d4f877fdb6002fc70d70272412135f1c2ff9cfa08d3b
MD5 4c2356f81c2806bb95f325adb4f09f99
BLAKE2b-256 f3a6b4081e2d04e1541abf82785ac9e5178a494c19330391f551356c8c18b7b3

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ad7b3a439265cc3739a4ab5b4c998c0e38ea99c0ee7ca4dea35c5d0b099ec237
MD5 244479782f877e34c5ce53287df1c6ad
BLAKE2b-256 32db062cdb5a84380a60439775311fff34d89229760d2a50680393dc18699956

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bb6dd6918460ed89cc7644adcc2402991474d6933cf1ce92b390641cb233fddf
MD5 22d6905cd0a2b01d475a279cac0dfa1c
BLAKE2b-256 db8f40beacd53809194f5259e590d1afaeaa8ad57da15f77c646e6560bcc4616

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d483b4aa3f5237569053f749cd1a2b5bb548ca456e40461a5dd087f21149d123
MD5 12e87794d4a1fbadaaa1b0d8a81df934
BLAKE2b-256 205508a726c14c67b37c8aca04b077766909f1c7ed23f76116884fe63b9bd033

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 87dc16b2df427c1318ad335f1e2be2b3b15b2cf20f7934c83b0505a48425ee5d
MD5 133f423ba40511258e8f5e031ee0397f
BLAKE2b-256 7c9c55ed9cb6dfe3ee9c837df5cd0e758372e5829aa38b8dd71343aa632cc4e2

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 028a3d481b37d785605620d7cdad897064c5a55bae2aa1f2658766333e291940
MD5 5d46c89820f2a181d1b94fbcfce72530
BLAKE2b-256 93e4e9b2495d0d57b9f60d63c57d0a910410a81b4b073bf70917bef815291119

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5cf78ebc401ce64ae19b8c55de866bb836797d559a4de9c25ccbe74cfa642d3a
MD5 ffbf6fa349ac27eca1ba88a90750f3ac
BLAKE2b-256 f04c95233776e2def960e5abb7a07931230a545f43717a56a1e1140162033598

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e9f54c30cd52e3ef7fd034cc69b7bb7e0964e1c8f8743e018ab92e95b40f9eee
MD5 b85ead6e3fbaf7a7af09174ce9598742
BLAKE2b-256 1549c1cab1ecbb3ff1a380a3f99283db1dee61b8afe354f6352c643b65937130

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9a45ea67235d965ef52187130d20002a4de20c54ea3d927a24286961d268dc37
MD5 67b25128665ee7b236d0f96292d5c926
BLAKE2b-256 f5de1494610ff54cbb154beb55033cc2cd50f3de04dac132fa2dd00e4f2b2556

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e80f543b22503d9415e126db5f0ff3917036925e38560ee6b9ae38c571a4002
MD5 cddb2f30a59b1498368b4f5ac460e275
BLAKE2b-256 0b9bf1e68e861d4462e3e195a642c2b448e7b7d3fad5f209487162b9a2133d9b

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5a38bc6da3d72621be003400b66f66a2b4c6d644fde05f680c2cb7ca8cf8dd6c
MD5 34b646e8e35dc212018b71b50ef97716
BLAKE2b-256 27be1b9c5de9c655ca2df4a74100fa671a7b848532ff787e077ccde14a7dea2a

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 83fe6c020866a85acd7d97deccc45ff11d66daf42916d04396a4309c66c0ccb8
MD5 78cb46308372ad9770c74762c9bdd6ad
BLAKE2b-256 7ab21e010052079e4c577007b789db336ea7075f1a426e84d17121fbc3745516

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7fad44dc9582570c7d92c4487d36ac46998f40cc39b438e8b8f5111a935ce4e8
MD5 73f5331c8854364b79565cc9bc3bc294
BLAKE2b-256 42d02b3c30834ff23acd3854d0ff59bc580711f4b36d725de40105a852ed3719

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6dfb0f45e2b4ceb4e76f158c3fbb5f44387099f3c466e3423a09ab665a194aba
MD5 68ca6fa84ce332c10601c7de8f78c90a
BLAKE2b-256 46222f7ff1997d793e45d85fafa8374ee25348b7dae9ac521ba8751d7e1c75d5

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 546fd85345cf8652f6cd099d4f9884b0ca5c2f3fae78689a21dd2f35ea6b622f
MD5 9b2cec8214609f6a6544c125c450c8b1
BLAKE2b-256 88ea5c70ecf86f8e95174a85061cea78683a7bb7f422f09c3f3d4f30b7600fa9

See more details on using hashes here.

File details

Details for the file torchvision-0.28.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for torchvision-0.28.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2a1ef4b6f4bf5828b48cfad97372c8982db906830884b2868ba5c3df937a7d81
MD5 52592dd236b546b5b602f99db02643a5
BLAKE2b-256 b4df1ba039ad6cfe6e69209c36766b9b6e8c6fe92481c6d4e4ca52296f5f699d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page