Hello, I use the following code to define my network. But I got the warning:
"Couldn't retrieve source code for container of "type " + obj.__name__ + ". It won't be checked for correctness upon loading."
What’s the meaning of this warning and how to solve it? Thanks!
class BasicBlock(nn.Module):
    def __init__(self):
        super(BasicBlock, self).__init__()
        self.conv = torch.nn.Conv2d(in_channels=64, out_channels=64,
                      kernel_size=3, stride=1, padding=1)
        self.relu = torch.nn.ReLU()
        
    def forward(self, x):
        out = self.conv(x)
        out = self.relu(out)
        return out
        
class MNN(nn.Module):
    def __init__(self, block, blocks):
        super(MNN, self).__init__()
        self.layer1 = torch.nn.Conv2d(in_channels=2, out_channels=64,
                      kernel_size=3, stride=1, padding=1)
        self.layer2 = self.make_layer(block, blocks)
        self.layer3 = torch.nn.Conv2d(in_channels=64, out_channels=1,
                      kernel_size=3, stride=1, padding=1)
    
    def make_layer(self, block, blocks):
        layers = []
        for i in range(0, blocks):
            layers.append(block())
        return nn.Sequential(*layers)
        
    def forward(self, x, y):
        out = self.layer1(x)
        out = self.layer2(out)
        out = self.layer3(out)
        return out+y