Yuliang commited on
Commit
905b94d
1 Parent(s): dbb034d

remove outlier removal

Browse files
Files changed (1) hide show
  1. lib/net/HGPIFuNet.py +0 -6
lib/net/HGPIFuNet.py CHANGED
@@ -293,14 +293,8 @@ class HGPIFuNet(BasePIFuNet):
293
  # smpl_cmap [B, N, 3]
294
  # smpl_vis [B, N, 1]
295
 
296
- # set ourlier point features as uniform values
297
- smpl_outlier = torch.abs(smpl_sdf).ge(self.sdf_clip)
298
- smpl_sdf[smpl_outlier] = torch.sign(smpl_sdf[smpl_outlier])
299
-
300
  feat_lst = [smpl_sdf]
301
  if 'cmap' in self.smpl_feats:
302
- smpl_cmap[smpl_outlier.repeat(
303
- 1, 1, 3)] = smpl_sdf[smpl_outlier].repeat(1, 1, 3)
304
  feat_lst.append(smpl_cmap)
305
  if 'norm' in self.smpl_feats:
306
  feat_lst.append(smpl_norm)
 
293
  # smpl_cmap [B, N, 3]
294
  # smpl_vis [B, N, 1]
295
 
 
 
 
 
296
  feat_lst = [smpl_sdf]
297
  if 'cmap' in self.smpl_feats:
 
 
298
  feat_lst.append(smpl_cmap)
299
  if 'norm' in self.smpl_feats:
300
  feat_lst.append(smpl_norm)