From f4456c4a2d6ba1cae3c6643f5386b632c3e8128c Mon Sep 17 00:00:00 2001 From: Bingxin Ke Date: Mon, 15 Apr 2024 14:17:35 +0200 Subject: [PATCH] [CLEAN] ruff format --- src/dataset/__init__.py | 4 +++- src/util/depth_transform.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dataset/__init__.py b/src/dataset/__init__.py index f5bdb44..dd7d502 100644 --- a/src/dataset/__init__.py +++ b/src/dataset/__init__.py @@ -20,7 +20,9 @@ } -def get_dataset(cfg_data_split, base_data_dir: str, mode: DatasetMode, **kwargs) -> BaseDepthDataset: +def get_dataset( + cfg_data_split, base_data_dir: str, mode: DatasetMode, **kwargs +) -> BaseDepthDataset: if cfg_data_split.name in dataset_name_class_dict.keys(): dataset_class = dataset_name_class_dict[cfg_data_split.name] dataset = dataset_class( diff --git a/src/util/depth_transform.py b/src/util/depth_transform.py index 02a7745..6062f59 100644 --- a/src/util/depth_transform.py +++ b/src/util/depth_transform.py @@ -96,4 +96,3 @@ def scale_back(self, depth_norm): def denormalize(self, depth_norm, **kwargs): return self.scale_back(depth_norm=depth_norm) -