org.pytorch:torchvision_ops

Datasets, Transforms and Models specific to Computer Vision

https://github.com/pytorch/vision

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    24 of 626 committers (3.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary

Keywords

computer-vision machine-learning

Keywords from Contributors

transformer pretrained-models jax deepseek audio vlm qwen gemma speech-recognition pytorch-transformers
Last synced: 6 months ago · JSON representation ·

Repository

Datasets, Transforms and Models specific to Computer Vision

Basic Info
  • Host: GitHub
  • Owner: pytorch
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Homepage: https://pytorch.org/vision
  • Size: 1.17 GB
Statistics
  • Stars: 17,111
  • Watchers: 470
  • Forks: 7,145
  • Open Issues: 1,135
  • Releases: 49
Topics
computer-vision machine-learning
Created over 9 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

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.13 | | 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.

Using the models on C++

Refer to example/cpp.

DISCLAIMER: the libtorchvision library includes the torchvision custom ops as well as most of the C++ torchvision APIs. Those APIs do not come with any backward-compatibility guarantees and may change from one version to the next. Only the Python APIs are stable and with backward-compatibility guarantees. So, if you need stability within a C++ environment, your best bet is to export the Python APIs via torchscript.

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:

bibtex @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}} }

Owner

  • Name: pytorch
  • Login: pytorch
  • Kind: organization
  • Location: where the eigens are valued

Citation (CITATION.cff)

cff-version: 1.2.0
title: "TorchVision: PyTorch's Computer Vision library"
message: >-
  If you find TorchVision useful in your work, please
  consider citing the following BibTeX entry.
type: software
authors:
  - given-names: TorchVision maintainers and contributors
url: "https://github.com/pytorch/vision"
license: "BSD-3-Clause"
date-released: "2016-11-06"
journal: "GitHub repository"
publisher: "GitHub"
key: "torchvision2016"

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 4,015
  • Total Committers: 626
  • Avg Commits per committer: 6.414
  • Development Distribution Score (DDS): 0.837
Past Year
  • Commits: 209
  • Committers: 60
  • Avg Commits per committer: 3.483
  • Development Distribution Score (DDS): 0.502
Top Committers
Name Email Commits
Philip Meier g****r@p****e 655
Nicolas Hug n****g@g****m 533
Vasilis Vryniotis d****x 389
Francisco Massa f****a@g****m 232
vfdev v****5@g****m 214
Andrey Talman a****n@f****m 76
Prabhat Roy p****y@f****m 74
Soumith Chintala s****h@g****m 72
Aditya Oke 4****a 64
F-G Fernandez f****3@h****r 53
Joao Gomes j****s@f****m 45
Nikita Shulga n****a@f****m 44
Alykhan Tejani a****i@g****m 42
YosuaMichael y****m@g****m 41
peterjc123 p****6@g****m 35
Bruno Korbar b****k@g****m 29
ekka e****n@g****m 28
Omkar Salpekar o****r@g****m 28
Surgan Jandial c****8@i****n 27
Philip Meier g****e@o****e 25
Eli Uriegas 1****e 24
Edward Z. Yang e****g@f****m 23
Zhiqiang Wang z****g@o****m 22
Edgar Andrés Margffoy Tuay a****y@g****m 22
Sasank Chilamkurthy s****y@g****m 20
Adam J. Stewart a****6@g****m 18
eellison e****n@b****u 17
Ponku t****u@g****m 15
GdoongMathew g****w@g****m 15
Hu Ye x****c@g****m 15
and 596 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 827
  • Total pull requests: 1,304
  • Average time to close issues: 3 months
  • Average time to close pull requests: 26 days
  • Total issue authors: 495
  • Total pull request authors: 230
  • Average comments per issue: 3.0
  • Average comments per pull request: 2.13
  • Merged pull requests: 830
  • Bot issues: 25
  • Bot pull requests: 0
Past Year
  • Issues: 278
  • Pull requests: 455
  • Average time to close issues: 13 days
  • Average time to close pull requests: 8 days
  • Issue authors: 146
  • Pull request authors: 88
  • Average comments per issue: 0.79
  • Average comments per pull request: 1.72
  • Merged pull requests: 278
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • hyperkai (108)
  • NicolasHug (90)
  • github-actions[bot] (25)
  • pmeier (21)
  • atalman (13)
  • yurivict (7)
  • adamjstewart (6)
  • talcs (5)
  • Egorundel (4)
  • datumbox (4)
  • tchaton (4)
  • gau-nernst (4)
  • david-csnmedia (3)
  • Tomsen1410 (3)
  • vadimkantorov (3)
Pull Request Authors
  • NicolasHug (475)
  • pmeier (125)
  • atalman (94)
  • GdoongMathew (32)
  • vfdev-5 (26)
  • AntoineSimoulin (26)
  • ahmadsharif1 (22)
  • deekay42 (18)
  • kit1980 (16)
  • malfet (14)
  • venkatram-dev (12)
  • ezyang (9)
  • huydhn (9)
  • scotts (8)
  • adamjstewart (7)
Top Labels
Issue Labels
module: datasets (55) bug (50) module: transforms (31) enhancement (27) module: models (21) help wanted (20) question (15) needs discussion (15) new feature (14) dependency issue (11) topic: object detection (11) module: documentation (10) module: ci (10) topic: build (9) module: ops (9) module: io (9) topic: binaries (8) high priority (6) module: reference scripts (6) triage review (5) prototype (5) module: onnx (5) awaiting response (4) wontfix (4) cla signed (4) module: video (4) needs reproduction (4) module: c++ frontend (4) module: tests (3) core issue (3)
Pull Request Labels
cla signed (1,148) enhancement (209) module: transforms (143) code quality (96) module: documentation (86) module: tests (70) bug (61) module: io (50) module: datasets (50) other (46) module: ci (36) module: ops (27) module: models (24) new feature (19) topic: build (13) module: reference scripts (13) module: utils (11) dependency issue (10) pt2 (9) prototype (9) fb-exported (8) module: rocm (7) ciflow/default (6) module: video (6) core issue (6) deprecation (5) ci-no-td (4) ciflow/rocm (3) Perf (3) module: tv_tensors (3)

Packages

  • Total packages: 13
  • Total downloads:
    • pypi 24,573,233 last-month
  • Total docker downloads: 44,031,681
  • Total dependent packages: 2,112
    (may contain duplicates)
  • Total dependent repositories: 57,764
    (may contain duplicates)
  • Total versions: 296
  • Total maintainers: 12
pypi.org: torchvision

image and video datasets and models for torch deep learning

  • Versions: 53
  • Dependent Packages: 2,027
  • Dependent Repositories: 53,890
  • Downloads: 24,571,702 Last month
  • Docker Downloads: 44,031,681
Rankings
Dependent packages count: 0.0%
Dependent repos count: 0.0%
Downloads: 0.1%
Forks count: 0.1%
Average: 0.2%
Stargazers count: 0.3%
Docker downloads count: 0.5%
Last synced: 6 months ago
conda-forge.org: torchvision
  • Homepage: http://pytorch.org/
  • License: BSD-3-Clause
  • Latest release: 0.13.0
    published over 3 years ago
  • Versions: 9
  • Dependent Packages: 61
  • Dependent Repositories: 1,902
Rankings
Dependent repos count: 0.3%
Dependent packages count: 1.2%
Average: 1.3%
Forks count: 1.3%
Stargazers count: 2.3%
Last synced: 6 months ago
spack.io: py-torchvision

Image and video datasets and models for torch deep learning.

  • Versions: 23
  • Dependent Packages: 20
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 0.1%
Stargazers count: 0.7%
Average: 1.3%
Dependent packages count: 4.4%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: torch-vision

image and video datasets and models for torch deep learning

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 30
  • Downloads: 1,505 Last month
Rankings
Forks count: 0.1%
Stargazers count: 0.1%
Dependent repos count: 2.7%
Average: 3.0%
Dependent packages count: 4.8%
Downloads: 7.2%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/pytorch/vision
  • Versions: 184
  • Dependent Packages: 0
  • Dependent Repositories: 1
Rankings
Forks count: 0.0%
Stargazers count: 0.5%
Average: 3.7%
Dependent repos count: 4.7%
Dependent packages count: 9.6%
Last synced: 6 months ago
anaconda.org: torchvision

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

  • Homepage: https://pytorch.org/
  • License: BSD-3-Clause
  • Latest release: 0.20.1
    published 10 months ago
  • Versions: 11
  • Dependent Packages: 3
  • Dependent Repositories: 1,902
Rankings
Dependent repos count: 1.8%
Forks count: 4.3%
Stargazers count: 6.2%
Average: 6.9%
Dependent packages count: 15.1%
Last synced: 6 months ago
repo1.maven.org: org.pytorch:torchvision_ops

torchvision ops

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 24
Rankings
Forks count: 1.0%
Stargazers count: 1.6%
Dependent repos count: 4.9%
Average: 14.4%
Dependent packages count: 50.1%
Last synced: 6 months ago
pypi.org: torchvision-raspi

Torchvision for Raspberry Pi 3B armv7l

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 15 Last month
Rankings
Forks count: 0.1%
Stargazers count: 0.1%
Dependent packages count: 10.1%
Dependent repos count: 11.6%
Average: 16.1%
Downloads: 58.5%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: torchvision-cpu
  • Homepage: http://pytorch.org/
  • License: BSD-3-Clause
  • Latest release: 0.9.1
    published over 4 years ago
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 12
Rankings
Forks count: 1.3%
Stargazers count: 2.3%
Dependent repos count: 10.2%
Average: 16.4%
Dependent packages count: 51.6%
Last synced: 6 months ago
pypi.org: rpi-torchvision

image and video datasets and models for torch deep learning

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 6 Last month
Rankings
Forks count: 0.1%
Stargazers count: 0.1%
Dependent packages count: 10.1%
Average: 20.9%
Dependent repos count: 21.6%
Downloads: 72.7%
Maintainers (1)
Last synced: 6 months ago
pypi.org: torchvisions390x

image and video datasets and models for torch deep learning

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 8.7%
Average: 28.8%
Dependent repos count: 48.9%
Maintainers (1)
Last synced: 6 months ago
pypi.org: torchvision-abi

image and video datasets and models for torch deep learning

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5 Last month
Rankings
Dependent packages count: 11.0%
Average: 36.3%
Dependent repos count: 61.7%
Maintainers (1)
Last synced: 6 months ago
anaconda.org: torchvision-tests

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

  • Homepage: https://pytorch.org/
  • License: BSD-3-Clause
  • Latest release: 0.20.1
    published 10 months ago
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 44.7%
Average: 46.9%
Dependent repos count: 49.1%
Last synced: 6 months ago

Dependencies

.github/workflows/build-cmake.yml actions
.github/workflows/build-conda-linux.yml actions
.github/workflows/build-conda-m1.yml actions
.github/workflows/build-conda-macos.yml actions
.github/workflows/build-conda-windows.yml actions
.github/workflows/build-wheels-aarch64-linux.yml actions
.github/workflows/build-wheels-linux.yml actions
.github/workflows/build-wheels-m1.yml actions
.github/workflows/build-wheels-macos.yml actions
.github/workflows/build-wheels-windows.yml actions
.github/workflows/docs.yml actions
.github/workflows/lint.yml actions
  • pytorch/test-infra/.github/actions/bc-lint main composite
.github/workflows/pr-labels.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • mshick/add-pr-comment v1 composite
.github/workflows/prototype-tests-linux-gpu.yml actions
.github/workflows/tests-schedule.yml actions
  • JasonEtco/create-an-issue v2.4.0 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/tests.yml actions
.github/workflows/update-viablestrict.yml actions
ios/LibTorchvision.podspec cocoapods
android/build.gradle maven
android/ops/build.gradle maven
  • com.facebook.fbjni:fbjni-java-only 0.0.3 implementation
android/test_app/app/build.gradle maven
  • androidx.camera:camera-camera2 $camerax_version implementation
  • androidx.camera:camera-core $camerax_version implementation
  • com.android.support:appcompat-v7 28.0.0 implementation
  • com.facebook.soloader:nativeloader 0.8.0 implementation
  • com.google.android.material:material 1.0.0-beta01 implementation
  • org.pytorch:pytorch_android $pytorchAndroidVersion implementation
  • org.pytorch:pytorch_android_torchvision $pytorchAndroidVersion implementation
docs/requirements.txt pypi
  • matplotlib *
  • numpy *
  • pycocotools *
  • sphinx ==5.0.0
  • sphinx-copybutton >=0.3.1
  • sphinx-gallery >=0.11.1
  • tabulate *
pyproject.toml pypi
setup.py pypi