MCPcopy Create free account

hub / github.com/HXY-99/brats / functions

Functions121 in github.com/HXY-99/brats

Functioninter_sum
(a: Tensor, b: Tensor)
utils.py:163
Functioniou_score
(output, target)
metrics.py:6
Functioniou_score
(output, target)
model/criterions.py:158
Functionmean_iou
(output, target)
metrics.py:73
Functionmeta_dice
(sum_str: str, label: Tensor, pred: Tensor, smooth: float = 1e-8)
utils.py:124
Functionmmap_
(fn: Callable[[A], B], iter: Iterable[A])
utils.py:50
Functionnp_class2one_hot
(seg: np.ndarray, K: int)
utils.py:245
Functionone_hot2dist
(seg: np.ndarray, resolution: Tuple[float, float, float] = None, dtype=None)
utils.py:260
Functionone_hot2hd_dist
Used for https://arxiv.org/pdf/1904.10030.pdf, implementation from https://github.com/JunMa11/SegWithDistMap
utils.py:279
Functionprobs2one_hot
(probs: Tensor)
utils.py:249
Functionsave_images
(segs: Tensor, names: Iterable[str], root: str, mode: str, iter: int)
utils.py:301
Functionsigmoid_dice
The dice loss for using sigmoid activation function :param output: (b, num_class-1, d, h, w) :param target: (b, d, h, w) :return:
model/criterions.py:79
Functionsoft_size
(a: Tensor)
utils.py:92
Functionsoftmax_dice
The dice loss for using softmax activation function :param output: (b, num_class, d, h, w) :param target: (b, d, h, w) :return: softm
model/criterions.py:50
Functionsoftmax_dice2
The dice loss for using softmax activation function :param output: (b, num_class, d, h, w) :param target: (b, d, h, w) :return: softm
model/criterions.py:64
Functionstarmmap_
(fn: Callable[[Tuple[A]], B], iter: Iterable[Tuple[A]])
utils.py:54
Functionstr2bool
(v)
utils.py:37
Functionuc_
(fn: Callable)
utils.py:58
Functionuncurry
(fn: Callable, args: List[Any])
utils.py:62
Functionunion_sum
(a: Tensor, b: Tensor)
utils.py:167
Methodupdate
(self, val, n=1)
config.py:35
← previous101–121 of 121, ranked by callers