MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / loss_entry

Function loss_entry

PATH/core/models/decoders/losses/__init__.py:8–9  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

6from .pedattr_losses import CEL_Sigmoid
7
8def loss_entry(config):
9 return globals()[config['type']](**config['kwargs'])

Callers 6

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected