From 2090e2479b0c159af2392a0b6d713fc0e03f6d78 Mon Sep 17 00:00:00 2001 From: XiaohanMao Date: Mon, 22 Jan 2024 17:47:45 +0800 Subject: [PATCH] remove debug code --- embodiedscan/models/data_preprocessors/data_preprocessor.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/embodiedscan/models/data_preprocessors/data_preprocessor.py b/embodiedscan/models/data_preprocessors/data_preprocessor.py index 3bc7831..589098d 100644 --- a/embodiedscan/models/data_preprocessors/data_preprocessor.py +++ b/embodiedscan/models/data_preprocessors/data_preprocessor.py @@ -243,9 +243,6 @@ def simple_process(self, data: dict, training: bool = False) -> dict: imgs, data_samples = batch_aug(imgs, data_samples) batch_inputs['imgs'] = imgs - # if 'depths' in inputs: - # batch_inputs['depths'] = torch.cat(inputs['depths'], dim=0) - return {'inputs': batch_inputs, 'data_samples': data_samples} def preprocess_img(self, _batch_img: Tensor) -> Tensor: