From ac6c07fa43bb897b67ec5b254bf20dbf4df330c0 Mon Sep 17 00:00:00 2001 From: Pyre Bot Jr <> Date: Tue, 8 Jun 2021 11:16:10 -0700 Subject: [PATCH] suppress errors in `fbcode/vision` - batch 2 Differential Revision: D28962863 fbshipit-source-id: 7acc8e2f08ea7a94294647431561ff2cfd52a97d --- pytorch3d/io/obj_io.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pytorch3d/io/obj_io.py b/pytorch3d/io/obj_io.py index bb329fb4..12ac537b 100644 --- a/pytorch3d/io/obj_io.py +++ b/pytorch3d/io/obj_io.py @@ -207,11 +207,7 @@ def load_obj( None. """ 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)): - # 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) if path_manager is None: path_manager = PathManager()