SKnet代码的问题*RuntimeError: one of the variables needed for gradient computation has been modified
SKnet代码的问题在skconv修改维度时有的用view,有的用unsqueezeclassSKConv(nn.Module):def__init__(self,features,WH,M,G,r,stride=1,L=32):super(SKConv,self).__init__()d=max(int(features/r),L)self.M=Mself.features=featuresse