Closed chentyra closed 1 year ago
Densenet121's model, as reported in the file describing net(densenet.py in the folder models of torchvision), does not have any attribute called num_feature( maybe init_num_features). I resolved the problem in two ways:
I removed the istruction that defines the classifier. I indicated hardcoded model.num_features. The chosen value was 1024.
I tried to run interactive_regression.ipynb using Densenet. I get the following error message
when I run this cell: