Krzysztof Chalupka aab95575a6 Submesh 0/n: Default to empty Meshes
Summary:
The default behavior of Meshes (with verts=None, faces=None) throws an exception:
```
meshes = Meshes()
> ValueError: Verts and Faces must be either a list or a tensor with shape (batch_size, N, 3) where N is either the maximum number of verts or faces respectively.
```

Instead, let's default to an empty mesh, following e.g. PyTorch:
```
empty_tensor = torch.FloatTensor()
> torch.tensor([])
```

this change is backwards-compatible (you can still init with verts=[], faces=[]).

Reviewed By: bottler, nikhilaravi

Differential Revision: D35443453

fbshipit-source-id: d638a8fef49a089bf0da6dd2201727b94ceb21ec
2022-04-11 16:27:53 -07:00
..
2022-02-10 09:39:44 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-01-24 10:52:23 -08:00
2022-03-29 05:09:27 -07:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-03-16 05:42:34 -07:00
2022-02-21 09:26:38 -08:00
2022-04-10 10:27:20 -07:00
2022-01-20 09:44:38 -08:00
2022-02-25 07:53:34 -08:00
2022-02-21 07:24:21 -08:00
2022-01-04 11:43:38 -08:00
2022-02-25 07:53:34 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2020-01-23 11:53:46 -08:00