• Jeremy Reizenstein's avatar
    PathManager passing · 25c065e9
    Jeremy Reizenstein authored
    Summary:
    Make no internal functions inside pytorch3d/io interpret str paths except using a PathManager from iopath which they have been given. This means we no longer use any global PathManager object and we no longer use fvcore's deprecated file_io.
    
    To preserve the APIs, various top level functions create their own default-initialized PathManager object if they are not provided one.
    
    Reviewed By: theschnitz
    
    Differential Revision: D25372969
    
    fbshipit-source-id: c176ee31439645fa54a157d6f1aef18b09501569
    25c065e9
test_ply_io.py 20.4 KB