MCPcopy Create free account
hub / github.com/ActiveVisionLab/DFNet / __init__

Method __init__

script/models/losses.py:34–40  ·  view source on GitHub ↗

lambda_u: in equation 13

(self, coef=1, lambda_u=0.01)

Source from the content-addressed store, hash-verified

32 :return:
33 """
34 def __init__(self, coef=1, lambda_u=0.01):
35 """
36 lambda_u: in equation 13
37 """
38 super().__init__()
39 self.coef = coef
40 self.lambda_u = lambda_u
41
42 def forward(self, inputs, targets, use_hier_rgbs=False, rgb_h=None, rgb_w=None):
43

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected