pytorch-segmentation
pytorch-segmentation copied to clipboard
gcn problem
TypeError Traceback (most recent call last)
/home/omnisky/anaconda3/lib/python3.6/site-packages/torch/nn/modules/batchnorm.py in init(self, num_features, eps, momentum, affine) 16 self.momentum = momentum 17 if self.affine: ---> 18 self.weight = Parameter(torch.Tensor(num_features)) 19 self.bias = Parameter(torch.Tensor(num_features)) 20 else:
TypeError: torch.FloatTensor constructor received an invalid combination of arguments - got (float), but expected one of:
- no arguments
- (int ...) didn't match because some of the arguments have invalid types: (float)
- (torch.FloatTensor viewed_tensor) didn't match because some of the arguments have invalid types: (float)
- (torch.Size size) didn't match because some of the arguments have invalid types: (float)
- (torch.FloatStorage data) didn't match because some of the arguments have invalid types: (float)
- (Sequence data) didn't match because some of the arguments have invalid types: (float)