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

Method __init__

utils/losses.py:296–317  ·  view source on GitHub ↗

Loss(x, class) = - \alpha (1-softmax(x)[class])^gamma \log(softmax(x)[class]) :param ignore_label: ignore label :param alpha: the scalar factor :param gamma: gamma > 0; reduces the r

(self, top_k=128, ignore_label=250, alpha=0.25, gamma=2)

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