• Darijan Gudelj's avatar
    Enable mixed frame raysampling · c311a4cb
    Darijan Gudelj authored
    Summary:
    Changed ray_sampler and metrics to be able to use mixed frame raysampling.
    
    Ray_sampler now has a new member which it passes to the pytorch3d raysampler.
    If the raybundle is heterogeneous metrics now samples images by padding xys first. This reduces memory consumption.
    
    Reviewed By: bottler, kjchalup
    
    Differential Revision: D39542221
    
    fbshipit-source-id: a6fec23838d3049ae5c2fd2e1f641c46c7c927e3
    c311a4cb
experiment.py 9.98 KB