Hi,
I want to extract features from the pretrained CNN.
Until recently, the following code worked, but now I get an error.
import torchvision.models as models

resnet = models.resnet152(pretrained=True)

resnet.features    # Error " 'ResNet' object has no attribute 'features' " occurred.

How can i fix this problem?
Thanks.