pull/1894/merge
Mohammed Yasin 2024-11-14 09:09:29 +08:00 committed by GitHub
commit 3de1a21793
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class LeViTClsHead(ClsHead):
self.head_dist = BatchNormLinear(in_channels, num_classes)
if self.deploy:
self.switch_to_deploy(self)
self.switch_to_deploy()
def switch_to_deploy(self):
if self.deploy: