From bd93e9ce21a0b73f1097181e6e6c0bc32e71b7ef Mon Sep 17 00:00:00 2001 From: Sergey Prokudin Date: Fri, 5 Aug 2022 11:22:34 -0700 Subject: [PATCH] small fix to the llff dataloader (#1281) Summary: simply fixing a typo in _ls function Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1281 Reviewed By: patricklabatut Differential Revision: D38457259 Pulled By: bottler fbshipit-source-id: 5204a57cb4d1fe1c804d8af3301b8ea2945443e8 --- pytorch3d/implicitron/dataset/load_llff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch3d/implicitron/dataset/load_llff.py b/pytorch3d/implicitron/dataset/load_llff.py index eb508a8e..e9fecb89 100644 --- a/pytorch3d/implicitron/dataset/load_llff.py +++ b/pytorch3d/implicitron/dataset/load_llff.py @@ -294,7 +294,7 @@ def _local_path(path_manager, path): def _ls(path_manager, path): if path_manager is None: - return os.path.listdir(path) + return os.listdir(path) return path_manager.ls(path)