"""model = models.densenet161(num_classes=num_classes, pretrained=False)ifpretrainedisnotNone:# '.'s are no longer allowed in module names, but pervious _DenseLayer# has keys 'norm.1', 'relu.1', 'conv.1', 'norm.2', 'relu.2', 'conv.2'.# They are also in the checkpoints in ...
"""model = models.densenet161(num_classes=num_classes, pretrained=False)ifpretrainedisnotNone:# '.'s are no longer allowed in module names, but pervious _DenseLayer# has keys 'norm.1', 'relu.1', 'conv.1', 'norm.2', 'relu.2', 'conv.2'.# They are also in the checkpoints in ...