mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 20:02:49 +08:00
- fail if CO3Dv2 path is not given even if path_manager is None
Summary: ... see title Reviewed By: bottler Differential Revision: D38430103 fbshipit-source-id: fd0696da82c367b0f4d9c9d92c0cba0230834137
This commit is contained in:
parent
46e82efb4e
commit
326716781b
@ -191,6 +191,8 @@ class JsonIndexDatasetMapProviderV2(DatasetMapProviderBase): # pyre-ignore [13]
|
|||||||
|
|
||||||
if path_manager is not None:
|
if path_manager is not None:
|
||||||
path_managed_frame_file = path_manager.get_local_path(frame_file)
|
path_managed_frame_file = path_manager.get_local_path(frame_file)
|
||||||
|
else:
|
||||||
|
path_managed_frame_file = frame_file
|
||||||
if not os.path.isfile(path_managed_frame_file):
|
if not os.path.isfile(path_managed_frame_file):
|
||||||
# The frame_file does not exist.
|
# The frame_file does not exist.
|
||||||
# Most probably the user has not specified the root folder.
|
# Most probably the user has not specified the root folder.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user