MCPcopy Create free account
hub / github.com/MetaSLAM/SphereVLAD / __call__

Method __call__

dataloader/data_augmentation.py:171–173  ·  view source on GitHub ↗
(self, coords)

Source from the content-addressed store, hash-verified

169 self.max_delta = max_delta
170
171 def __call__(self, coords):
172 trans = self.max_delta * np.random.randn(1, 3)
173 return coords + trans.astype(np.float32)
174
175
176class RandomScale:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected