Merge bcb31ca7ef
into ee7f2e8850
commit
3de1a21793
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue