Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
mxh1999 committed Jan 22, 2024
1 parent 5d24a1b commit 2090e24
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions embodiedscan/models/data_preprocessors/data_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2090e24

Please sign in to comment.