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

Method __init__

utils/losses.py:23–38  ·  view source on GitHub ↗

Bootstrapped CrossEntropy2D: The pixel-bootstrapped cross entropy loss :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.

(self, top_k=128, 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