MCPcopy
hub / github.com/shunsukesaito/PIFu / forward

Method forward

lib/model/HGPIFuNet.py:129–142  ·  view source on GitHub ↗
(self, images, points, calibs, transforms=None, labels=None)

Source from the content-addressed store, hash-verified

127 return error
128
129 def forward(self, images, points, calibs, transforms=None, labels=None):
130 # Get image feature
131 self.filter(images)
132
133 # Phase 2: point query
134 self.query(points=points, calibs=calibs, transforms=transforms, labels=labels)
135
136 # get the prediction
137 res = self.get_preds()
138
139 # get the error
140 error = self.get_error()
141
142 return res, error

Callers

nothing calls this directly

Calls 4

filterMethod · 0.95
queryMethod · 0.95
get_errorMethod · 0.95
get_predsMethod · 0.80

Tested by

no test coverage detected