We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92b6932 commit 0ad09c4Copy full SHA for 0ad09c4
setup.py
@@ -3,7 +3,7 @@
3
setup(
4
name = 'vit-pytorch',
5
packages = find_packages(exclude=['examples']),
6
- version = '1.6.2',
+ version = '1.6.3',
7
license='MIT',
8
description = 'Vision Transformer (ViT) - Pytorch',
9
long_description_content_type = 'text/markdown',
vit_pytorch/cvt.py
@@ -140,12 +140,13 @@ def __init__(
140
s3_heads = 6,
141
s3_depth = 10,
142
s3_mlp_mult = 4,
143
- dropout = 0.
+ dropout = 0.,
144
+ channels = 3
145
):
146
super().__init__()
147
kwargs = dict(locals())
148
- dim = 3
149
+ dim = channels
150
layers = []
151
152
for prefix in ('s1', 's2', 's3'):
0 commit comments