You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Ericsun99,
Thanks for sharing the code and model.
I tried using the code you shared and met an error at line 80 of MobileNetV2.py (self.features.append(nn.AvgPool2d(input_size/32))) asking about input parameters to the AvgPool2d function.
Could you please help me in managing the error which says RuntimeError: avg_pool2d(): argument 'kernel_size' (position 2) must be tuple of ints, not float
?
The text was updated successfully, but these errors were encountered:
Hi Ericsun99,
Thanks for sharing the code and model.
I tried using the code you shared and met an error at line 80 of MobileNetV2.py (self.features.append(nn.AvgPool2d(input_size/32))) asking about input parameters to the AvgPool2d function.
Could you please help me in managing the error which says RuntimeError: avg_pool2d(): argument 'kernel_size' (position 2) must be tuple of ints, not float
?
The text was updated successfully, but these errors were encountered: