mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 20:02:49 +08:00
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
This commit is contained in:
parent
da9584357e
commit
bd93e9ce21
@ -294,7 +294,7 @@ def _local_path(path_manager, path):
|
|||||||
|
|
||||||
def _ls(path_manager, path):
|
def _ls(path_manager, path):
|
||||||
if path_manager is None:
|
if path_manager is None:
|
||||||
return os.path.listdir(path)
|
return os.listdir(path)
|
||||||
return path_manager.ls(path)
|
return path_manager.ls(path)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user