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

Method filter

lib/model/HGPIFuNet.py:57–66  ·  view source on GitHub ↗

Filter the input images store all intermediate features. :param images: [B, C, H, W] input images

(self, images)

Source from the content-addressed store, hash-verified

55 init_net(self)
56
57 def filter(self, images):
58 '''
59 Filter the input images
60 store all intermediate features.
61 :param images: [B, C, H, W] input images
62 '''
63 self.im_feat_list, self.tmpx, self.normx = self.image_filter(images)
64 # If it is not in training, only produce the last im_feat
65 if not self.training:
66 self.im_feat_list = [self.im_feat_list[-1]]
67
68 def query(self, points, calibs, transforms=None, labels=None):
69 '''

Callers 9

forwardMethod · 0.95
gen_meshFunction · 0.45
gen_mesh_colorFunction · 0.45
calc_error_colorFunction · 0.45
gen_meshFunction · 0.45
gen_mesh_colorFunction · 0.45
calc_error_colorFunction · 0.45
get_renderMethod · 0.45
train_colorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected