我使用的是PyTorch的Resnet152型号。我想从模型中去掉最后一个fc层。这是我的代码:from torchvision import datasets, transforms, models model ...
確定! 回上一頁