qiu13579

Results 2 issues of qiu13579

In loss_tal.py: pred_distri, pred_scores = torch.cat([xi.view(feats[0].shape[0], self.no, -1) for xi in feats], 2).split( (self.reg_max * 4, self.nc), 1) The error is as follows: AttributeError: 'list' object has no attribute 'view'

in eval.py on 31 line: tot += dice_coeff(pred, true_masks).item() What is dice_coeff ?