.
This commit is contained in:
parent
7f5f52b067
commit
a223db4d65
|
@ -290,7 +290,7 @@ class PointCloudDataset(Dataset):
|
||||||
if self.config.augment_scale_anisotropic:
|
if self.config.augment_scale_anisotropic:
|
||||||
scale = np.random.rand(points.shape[1]) * (max_s - min_s) + min_s
|
scale = np.random.rand(points.shape[1]) * (max_s - min_s) + min_s
|
||||||
else:
|
else:
|
||||||
scale = np.random.rand() * (max_s - min_s) - min_s
|
scale = np.random.rand() * (max_s - min_s) + min_s
|
||||||
|
|
||||||
# Add random symmetries to the scale factor
|
# Add random symmetries to the scale factor
|
||||||
symmetries = np.array(self.config.augment_symmetries).astype(np.int32)
|
symmetries = np.array(self.config.augment_symmetries).astype(np.int32)
|
||||||
|
|
Loading…
Reference in a new issue