Merge pull request #216 from meyerjo/fix_random_sampling
Bug in NPM3d dataloader
This commit is contained in:
commit
d5391238e5
|
@ -580,7 +580,7 @@ class NPM3DDataset(PointCloudDataset):
|
||||||
# input_colors *= 0
|
# input_colors *= 0
|
||||||
|
|
||||||
# Get original height as additional feature
|
# Get original height as additional feature
|
||||||
input_features = np.hstack((input_colors, input_points[:, 2:] + center_point[:, 2:])).astype(np.float32)
|
input_features = np.hstack((input_points[:, 2:] + center_point[:, 2:])).astype(np.float32)
|
||||||
|
|
||||||
# Stack batch
|
# Stack batch
|
||||||
p_list += [input_points]
|
p_list += [input_points]
|
||||||
|
|
Loading…
Reference in a new issue