andyhx:

logit = model(x)
print(logit)
print(len(logit))
h_x = f.softmax(logit).data.squeeze()


thank u sir ,i retrain with freeze method  ,and get a new model ,loading model  is ok now,the classes is right,thank u!