daniilidis-group / neural_renderer

A PyTorch port of the Neural 3D Mesh Renderer
Other
1.14k stars 254 forks source link

Fixed batching for look transformation #78

Open jasonyzhang opened 4 years ago

jasonyzhang commented 4 years ago

Fixed minor issue in look transformation where default up always has batch size 1. If direction or vertices are batched, then there's a dimension mismatch.

Also fixed renderer's init not using the camera_direction that is passed in as a parameter.