@@ -75,7 +75,7 @@ def feature_info(self, location):
7575 if location == 'expansion' : # output of conv after act, same as block coutput
7676 return dict (module = 'bn1' , hook_type = 'forward' , num_chs = self .conv .out_channels )
7777 else : # location == 'bottleneck', block output
78- return dict (module = '' , hook_type = '' , num_chs = self .conv .out_channels )
78+ return dict (module = '' , num_chs = self .conv .out_channels )
7979
8080 def forward (self , x ):
8181 shortcut = x
@@ -116,7 +116,7 @@ def feature_info(self, location):
116116 if location == 'expansion' : # after SE, input to PW
117117 return dict (module = 'conv_pw' , hook_type = 'forward_pre' , num_chs = self .conv_pw .in_channels )
118118 else : # location == 'bottleneck', block output
119- return dict (module = '' , hook_type = '' , num_chs = self .conv_pw .out_channels )
119+ return dict (module = '' , num_chs = self .conv_pw .out_channels )
120120
121121 def forward (self , x ):
122122 shortcut = x
@@ -173,7 +173,7 @@ def feature_info(self, location):
173173 if location == 'expansion' : # after SE, input to PWL
174174 return dict (module = 'conv_pwl' , hook_type = 'forward_pre' , num_chs = self .conv_pwl .in_channels )
175175 else : # location == 'bottleneck', block output
176- return dict (module = '' , hook_type = '' , num_chs = self .conv_pwl .out_channels )
176+ return dict (module = '' , num_chs = self .conv_pwl .out_channels )
177177
178178 def forward (self , x ):
179179 shortcut = x
@@ -266,7 +266,7 @@ def feature_info(self, location):
266266 if location == 'expansion' : # after SE, before PWL
267267 return dict (module = 'conv_pwl' , hook_type = 'forward_pre' , num_chs = self .conv_pwl .in_channels )
268268 else : # location == 'bottleneck', block output
269- return dict (module = '' , hook_type = '' , num_chs = self .conv_pwl .out_channels )
269+ return dict (module = '' , num_chs = self .conv_pwl .out_channels )
270270
271271 def forward (self , x ):
272272 shortcut = x
0 commit comments