Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCIP-RGBD/DFormer
/ build_loss
Function
build_loss
models/builder.py:41–43 ·
view source on GitHub ↗
Build loss.
(cfg)
Source
from the content-addressed store, hash-verified
39
40
41
def
build_loss(cfg):
42
""
"Build loss."
""
43
return
LOSSES.build(cfg)
44
45
46
def
build_segmentor(cfg, train_cfg=None, test_cfg=None):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected