Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add LeViT #177

Merged
merged 12 commits into from
Mar 16, 2022
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ pip install flowvision==0.1.0
<li>gMLP</li>
<li>ConvMixer</li>
<li>ConvNeXt</li>
<li>LeViT</li>
<li>RegionViT</li>
<li>UniFormer</li>
<li>VAN</li>
Expand Down
3 changes: 2 additions & 1 deletion docs/source/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
- Support [VAN](https://arxiv.org/abs/2202.09741) model and pretrained weight [#166](https://github.com/Oneflow-Inc/vision/pull/166)
- Support [Dynamic convolution](https://arxiv.org/abs/1912.03458) module [#166](https://github.com/Oneflow-Inc/vision/pull/169)
- Support transforms.RandomGrayscale method [#171](https://github.com/Oneflow-Inc/vision/pull/171)
- Support [RegNet](https://arxiv.org/abs/2003.13678) model and pretrained weight [#166](https://github.com/Oneflow-Inc/vision/pull/170)
- Support [RegNet](https://arxiv.org/abs/2003.13678) model and pretrained weight [#166](https://github.com/Oneflow-Inc/vision/pull/166)
- Support [LeViT](https://arxiv.org/abs/2104.01136) model and pretrained weight [#177](https://github.com/Oneflow-Inc/vision/pull/177)

**Bug Fixes**
- Fix benchmark normalize mode error [#146](https://github.com/Oneflow-Inc/vision/pull/146)
Expand Down
13 changes: 13 additions & 0 deletions docs/source/flowvision.models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ architectures for image classification:
- `gMLP`_
- `ConvMixer`_
- `ConvNeXt`_
_ `LeViT`_
- `RegionViT`_
- `VAN`_

Expand Down Expand Up @@ -78,6 +79,7 @@ architectures for image classification:
.. _ConvNeXt: https://arxiv.org/abs/2201.03545
.. _RegionViT: https://arxiv.org/pdf/2106.02689.pdf
.. _VAN: https://arxiv.org/pdf/2202.09741.pdf
.. _LeViT: https://arxiv.org/pdf/2104.01136.pdf

.. currentmodule:: flowvision.models

Expand Down Expand Up @@ -487,6 +489,17 @@ VAN
van_large,


LeViT
--------
.. automodule:: flowvision.models
:members:
levit_128s,
levit_128,
levit_192,
levit_256,
levit_384,


Neural Style Transfer
==============

Expand Down
1 change: 1 addition & 0 deletions flowvision/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from .uniformer import *
from .senet import *
from .van import *
from .levit import *

from . import style_transfer
from . import detection
Expand Down