MCPcopy Create free account
hub / github.com/MotrixLab/ADHMR / DeltaDepth

Class DeltaDepth

ADHMR/lib/utils/inference.py:132–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 cv2.imwrite(save_path_img, rendered_img.astype(np.uint8)[...,::-1])
131
132class DeltaDepth(nn.Module):
133 def __init__(self,bs):
134 super(DeltaDepth, self).__init__()
135 self.delta_d = nn.Parameter(torch.zeros(bs,1),requires_grad=True)
136 def forward(self,depth):
137 return depth+self.delta_d
138
139class DeltaDepthBeta(nn.Module):
140 def __init__(self,bs):

Callers 1

get_estimatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected