models-pytorch icon indicating copy to clipboard operation
models-pytorch copied to clipboard

Error in like 31 csp_densenet suggestion for fixing

Open gurber15 opened this issue 3 years ago • 1 comments

def forward(self,x): features = [x[:,self.csp_num_features1:,...]] of line 31 stores features as a tuple because of the additional brackets this breaks the code you have to undo the bracket outside :)

gurber15 avatar Aug 15 '22 20:08 gurber15

the list type is for concat Muti features in line 36. And the input of DenseLayer can be a list type.

Knight825 avatar Aug 30 '22 06:08 Knight825