MCPcopy Create free account
hub / github.com/ansleliu/LightNetPlusPlus / __init__

Method __init__

utils/losses.py:559–570  ·  view source on GitHub ↗

Soft-Jaccard Loss for Semantic Segmentation :param weight: A manual rescaling weight given to each class. If given, has to be a Tensor of size C, where C = number of classes. :param ignore_index: <int,

(self, weight=None, ignore_index=-100)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected