Fix deploy error

pull/1894/head
Mohammed Yasin 2024-05-07 21:42:31 +08:00 committed by GitHub
parent 17a886cb58
commit bcb31ca7ef
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: