stray print

This commit is contained in:
Phil Wang
2021-04-06 13:38:52 -07:00
parent 5e23e48e4d
commit e075460937
2 changed files with 1 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name = 'vit-pytorch',
packages = find_packages(exclude=['examples']),
version = '0.15.0',
version = '0.15.1',
license='MIT',
description = 'Vision Transformer (ViT) - Pytorch',
author = 'Phil Wang',

View File

@@ -81,7 +81,6 @@ class Attention(nn.Module):
def apply_pos_bias(self, fmap):
bias = self.pos_bias(self.pos_indices)
bias = rearrange(bias, 'i j h -> () h i j')
print(bias.shape, fmap.shape)
return fmap + bias
def forward(self, x):