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
I can use the include_top parameter in EfficientNet.from_name, but in EfficientNet.from_pretrained, I cannot use that. So, if I want to change the last layer of the pretrained model by self.base_model = nn.Sequential(*list(base_model.children())[:-1]), it has the error in forward function.
The text was updated successfully, but these errors were encountered:
I can use the
include_top
parameter inEfficientNet.from_name
, but inEfficientNet.from_pretrained
, I cannot use that. So, if I want to change the last layer of the pretrained model byself.base_model = nn.Sequential(*list(base_model.children())[:-1])
, it has the error in forward function.The text was updated successfully, but these errors were encountered: