class Model(nn.Module):
    def __init__(self, m, n=6, pre=True):
        super().__init__()
        
        self.enc = nn.Sequential(*list(m.children())[:-2])       
        #nc = list(m.children())[-1].in_features
        self.head = nn.Sequential(AdaptiveConcatPool2d(),Flatten(),nn.Linear(2*1536,512),
                            Mish(),nn.BatchNorm1d(512), nn.Dropout(0.5),nn.Linear(512,n))
        
    def forward(self, x):
        
        x = self.enc(x)
        #x: bs*N x C x 4 x 4
         
        #concatenate the output for tiles into a single map
         
        x = self.head(x)
        #x: bs x n
        return x

@ptrblck
could u please understand
md_ef = EfficientNet.from_pretrained(‘efficientnet-b3’, num_classes=6)
i pass md_ef to the Model
Why do i get Not Implemented Error at self.enc