We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fbcode/vision
1 parent f00ef66 commit ac6c07fCopy full SHA for ac6c07f
pytorch3d/io/obj_io.py
@@ -207,11 +207,7 @@ def load_obj(
207
None.
208
"""
209
data_dir = "./"
210
- # pyre-fixme[6]: Expected `Union[typing.Type[typing.Any],
211
- # typing.Tuple[typing.Type[typing.Any], ...]]` for 2nd param but got `Any`.
212
if isinstance(f, (str, bytes, os.PathLike)):
213
- # pyre-fixme[6]: Expected `_PathLike[Variable[typing.AnyStr <: [str,
214
- # bytes]]]` for 1st param but got `Union[_PathLike[typing.Any], bytes, str]`.
215
data_dir = os.path.dirname(f)
216
if path_manager is None:
217
path_manager = PathManager()
0 commit comments