• Jeremy Reizenstein's avatar
    Joining mismatched texture maps on CUDA #175 · 0c595dcf
    Jeremy Reizenstein authored
    Summary:
    Use nn.functional.interpolate instead of a TorchVision transform to resize texture maps to a common value. This works on all devices. This fixes issue #175.
    
    Also fix the condition so it only happens when needed.
    
    Reviewed By: nikhilaravi
    
    Differential Revision: D21324510
    
    fbshipit-source-id: c50eb06514984995bd81f2c44079be6e0b4098e4
    0c595dcf
test_obj_io.py 28.8 KB