mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-03 04:12:48 +08:00
suppress errors in fbcode/vision
- batch 2
Differential Revision: D28962863 fbshipit-source-id: 7acc8e2f08ea7a94294647431561ff2cfd52a97d
This commit is contained in:
parent
f00ef66727
commit
ac6c07fa43
@ -207,11 +207,7 @@ def load_obj(
|
|||||||
None.
|
None.
|
||||||
"""
|
"""
|
||||||
data_dir = "./"
|
data_dir = "./"
|
||||||
# pyre-fixme[6]: Expected `Union[typing.Type[typing.Any],
|
|
||||||
# typing.Tuple[typing.Type[typing.Any], ...]]` for 2nd param but got `Any`.
|
|
||||||
if isinstance(f, (str, bytes, os.PathLike)):
|
if isinstance(f, (str, bytes, os.PathLike)):
|
||||||
# pyre-fixme[6]: Expected `_PathLike[Variable[typing.AnyStr <: [str,
|
|
||||||
# bytes]]]` for 1st param but got `Union[_PathLike[typing.Any], bytes, str]`.
|
|
||||||
data_dir = os.path.dirname(f)
|
data_dir = os.path.dirname(f)
|
||||||
if path_manager is None:
|
if path_manager is None:
|
||||||
path_manager = PathManager()
|
path_manager = PathManager()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user