We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbf0fe7 commit 3c82d48Copy full SHA for 3c82d48
1 file changed
src/trainer.py
@@ -290,8 +290,10 @@ def run_model_wo_ground_data(self, batch):
290
batch['origin_pc0'] = batch['pc0'].clone()
291
batch['pc0'] = batch['pc0'][~batch['gm0']].unsqueeze(0)
292
batch['pc1'] = batch['pc1'][~batch['gm1']].unsqueeze(0)
293
- if 'pcb0' in batch:
294
- batch['pcb0'] = batch['pcb0'][~batch['gmb0']].unsqueeze(0)
+
+ for i in range(1, self.num_frames-1):
295
+ batch[f'pch{i}'] = batch[f'pch{i}'][~batch[f'gmh{i}']].unsqueeze(0)
296
297
self.model.timer[12].start("One Scan")
298
res_dict = self.model(batch)
299
self.model.timer[12].stop()
0 commit comments