Hello,
I want to fine tune SqueezeNet for my dataset. I have already can fine tune alexnet, vgg, Resnet and densenet. However when I have fine tuned the SqueezeNet, the following error has occurred:

output.addmm_(0, 1, input, weight.t())
RuntimeError: matrix and matrix expected at /py/conda-bld/pytorch_1490903321756/work/torch/lib/THC/generic/THCTensorMathBlas.cu:237

The main part of my code is as follows:

model_conv = torchvision.models.squeezenet1_0(pretrained=True)
mod = list(model_conv.classifier.children())
mod.pop()
mod.append(torch.nn.Linear(1000, 7))
new_classifier = torch.nn.Sequential(*mod)
model_conv.classifier = new_classifier


for p in model_conv.features.parameters():
p.requires_grad = False

would you please help me.