METADATA 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. Metadata-Version: 2.1
  2. Name: torchvision
  3. Version: 0.26.0+cpu
  4. Summary: image and video datasets and models for torch deep learning
  5. Home-page: https://github.com/pytorch/vision
  6. Author: PyTorch Core Team
  7. Author-email: soumith@pytorch.org
  8. License: BSD
  9. Requires-Python: >=3.10,!=3.14.1
  10. Description-Content-Type: text/markdown
  11. License-File: LICENSE
  12. Requires-Dist: numpy
  13. Requires-Dist: torch (==2.11.0)
  14. Requires-Dist: pillow (!=8.3.*,>=5.3.0)
  15. Provides-Extra: gdown
  16. Requires-Dist: gdown (>=4.7.3) ; extra == 'gdown'
  17. Provides-Extra: scipy
  18. Requires-Dist: scipy ; extra == 'scipy'
  19. # torchvision
  20. [![total torchvision downloads](https://pepy.tech/badge/torchvision)](https://pepy.tech/project/torchvision)
  21. [![documentation](https://img.shields.io/badge/dynamic/json.svg?label=docs&url=https%3A%2F%2Fpypi.org%2Fpypi%2Ftorchvision%2Fjson&query=%24.info.version&colorB=brightgreen&prefix=v)](https://pytorch.org/vision/stable/index.html)
  22. The torchvision package consists of popular datasets, model architectures, and common image transformations for computer
  23. vision.
  24. ## Installation
  25. Please refer to the [official
  26. instructions](https://pytorch.org/get-started/locally/) to install the stable
  27. versions of `torch` and `torchvision` on your system.
  28. To build source, refer to our [contributing
  29. page](https://github.com/pytorch/vision/blob/main/CONTRIBUTING.md#development-installation).
  30. The following is the corresponding `torchvision` versions and supported Python
  31. versions.
  32. | `torch` | `torchvision` | Python |
  33. | ------------------ | ------------------ | ------------------- |
  34. | `main` / `nightly` | `main` / `nightly` | `>=3.10`, `<=3.14` |
  35. | `2.10` | `0.25` | `>=3.10`, `<=3.14` |
  36. | `2.9` | `0.24` | `>=3.10`, `<=3.14` |
  37. | `2.8` | `0.23` | `>=3.9`, `<=3.13` |
  38. | `2.7` | `0.22` | `>=3.9`, `<=3.13` |
  39. | `2.6` | `0.21` | `>=3.9`, `<=3.12` |
  40. <details>
  41. <summary>older versions</summary>
  42. | `torch` | `torchvision` | Python |
  43. |---------|-------------------|---------------------------|
  44. | `2.5` | `0.20` | `>=3.9`, `<=3.12` |
  45. | `2.4` | `0.19` | `>=3.8`, `<=3.12` |
  46. | `2.3` | `0.18` | `>=3.8`, `<=3.12` |
  47. | `2.2` | `0.17` | `>=3.8`, `<=3.11` |
  48. | `2.1` | `0.16` | `>=3.8`, `<=3.11` |
  49. | `2.0` | `0.15` | `>=3.8`, `<=3.11` |
  50. | `1.13` | `0.14` | `>=3.7.2`, `<=3.10` |
  51. | `1.12` | `0.13` | `>=3.7`, `<=3.10` |
  52. | `1.11` | `0.12` | `>=3.7`, `<=3.10` |
  53. | `1.10` | `0.11` | `>=3.6`, `<=3.9` |
  54. | `1.9` | `0.10` | `>=3.6`, `<=3.9` |
  55. | `1.8` | `0.9` | `>=3.6`, `<=3.9` |
  56. | `1.7` | `0.8` | `>=3.6`, `<=3.9` |
  57. | `1.6` | `0.7` | `>=3.6`, `<=3.8` |
  58. | `1.5` | `0.6` | `>=3.5`, `<=3.8` |
  59. | `1.4` | `0.5` | `==2.7`, `>=3.5`, `<=3.8` |
  60. | `1.3` | `0.4.2` / `0.4.3` | `==2.7`, `>=3.5`, `<=3.7` |
  61. | `1.2` | `0.4.1` | `==2.7`, `>=3.5`, `<=3.7` |
  62. | `1.1` | `0.3` | `==2.7`, `>=3.5`, `<=3.7` |
  63. | `<=1.0` | `0.2` | `==2.7`, `>=3.5`, `<=3.7` |
  64. </details>
  65. ## Image Backends
  66. Torchvision currently supports the following image backends:
  67. - torch tensors
  68. - PIL images:
  69. - [Pillow](https://python-pillow.org/)
  70. - [Pillow-SIMD](https://github.com/uploadcare/pillow-simd) - a **much faster** drop-in replacement for Pillow with SIMD.
  71. Read more in in our [docs](https://pytorch.org/vision/stable/transforms.html).
  72. ## Documentation
  73. You can find the API documentation on the pytorch website: <https://pytorch.org/vision/stable/index.html>
  74. ## Contributing
  75. See the [CONTRIBUTING](CONTRIBUTING.md) file for how to help out.
  76. ## Disclaimer on Datasets
  77. This is a utility library that downloads and prepares public datasets. We do not host or distribute these datasets,
  78. vouch for their quality or fairness, or claim that you have license to use the dataset. It is your responsibility to
  79. determine whether you have permission to use the dataset under the dataset's license.
  80. If you're a dataset owner and wish to update any part of it (description, citation, etc.), or do not want your dataset
  81. to be included in this library, please get in touch through a GitHub issue. Thanks for your contribution to the ML
  82. community!
  83. ## Pre-trained Model License
  84. The pre-trained models provided in this library may have their own licenses or terms and conditions derived from the
  85. dataset used for training. It is your responsibility to determine whether you have permission to use the models for your
  86. use case.
  87. More specifically, SWAG models are released under the CC-BY-NC 4.0 license. See
  88. [SWAG LICENSE](https://github.com/facebookresearch/SWAG/blob/main/LICENSE) for additional details.
  89. ## Citing TorchVision
  90. If you find TorchVision useful in your work, please consider citing the following BibTeX entry:
  91. ```bibtex
  92. @software{torchvision2016,
  93. title = {TorchVision: PyTorch's Computer Vision library},
  94. author = {TorchVision maintainers and contributors},
  95. year = 2016,
  96. journal = {GitHub repository},
  97. publisher = {GitHub},
  98. howpublished = {\url{https://github.com/pytorch/vision}}
  99. }
  100. ```