Make torch script compatible
Summary: Sequence is not TorchScript compatible, replacing with a List. Also the original annotation `Optional[Sequence[str]]` was not correct, as implementation was actially allowing usage of `str` type. Wrapped `project_points` with decorator `torch.jit.ignore` as it violates TorchScript too much (uses sets, changes types of variables, uses None with other types aggressively) Differential Revision: D63444533 fbshipit-source-id: 46604cbd239ed8b9051ad371779fb81106987dc5
Showing
Please register or sign in to comment