Contents

vit-pytorch 1.17.8

0

Vision Transformer (ViT) - Pytorch

Vision Transformer (ViT) - Pytorch

Stars: 24996, Watchers: 24996, Forks: 3493, Open Issues: 142

The lucidrains/vit-pytorch repo was created 5 years ago and the last code push was 6 days ago.
The project is extremely popular with a mindblowing 24996 github stars!

How to Install vit-pytorch

You can install vit-pytorch using pip

pip install vit-pytorch

or add it to a project with poetry

poetry add vit-pytorch

Package Details

Author
None
License
MIT License
    Copyright (c) 2020 Phil Wang
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
    </dd>
Homepage
None
PyPi:
https://pypi.org/project/vit-pytorch/
GitHub Repo:
https://github.com/lucidrains/vit-pytorch

Classifiers

  • Scientific/Engineering/Artificial Intelligence
No  vit-pytorch  pypi packages just yet.

Errors

A list of common vit-pytorch errors.

Code Examples

Here are some vit-pytorch code examples and snippets.

GitHub Issues

The vit-pytorch package has 142 open issues on GitHub

  • Update README.md
  • How to train?
  • Modified the forward function of Attention so that it can operate on …
  • Update distill.py to include device agnostic code for distill_mlp head and distillation_token
  • Update simple_flash_attn_vit_3d.py
  • Update distill.py
  • Update vit.py to include LayerNorm in the MLP head which is missing
  • Layer Norm modification
  • display random images when previewing in cats_and_dogs.ipynb
  • First attempt
  • update simmim using conv decoder which replace simple header
  • Some questions about decoder position embedding for masked tokens
  • How to save and restore the parameters?

See more issues on GitHub

Related Packages & Articles

kornia 0.8.2

Open Source Differentiable Computer Vision Library for PyTorch

datasets 4.5.0

HuggingFace community-driven open-source library of datasets

nlp 0.4.0

HuggingFace/NLP is an open library of NLP datasets.

boxdetect 1.0.2

boxdetect is a Python package based on OpenCV which allows you to easily detect rectangular shapes like characters boxes on scanned forms.

pytorch-lightning 2.6.1

PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers. Scale your models. Write less boilerplate.

onnx 1.20.1

Open Neural Network Exchange (ONNX) is an open ecosystem that empowers AI developers to choose the right tools as their project evolves. ONNX provides an open source format for AI models, both deep learning and traditional ML. It defines an extensible computation graph model, as well as definitions of built-in operators and standard data types. Currently we focus on the capabilities needed for inferencing (scoring).