1. 27 Jan, 2023 1 commit
    • Jeremy Reizenstein's avatar
      Make Module.__init__ automatic · 9540c290
      Jeremy Reizenstein authored
      Summary: If a configurable class inherits torch.nn.Module and is instantiated, automatically call `torch.nn.Module.__init__` on it before doing anything else.
      
      Reviewed By: shapovalov
      
      Differential Revision: D42760349
      
      fbshipit-source-id: 409894911a4252b7987e1fd218ee9ecefbec8e62
      9540c290
  2. 07 Nov, 2022 1 commit
    • Roman Shapovalov's avatar
      MC rasterize supports heterogeneous bundle; refactoring of bundle-to-padded · f3c1e083
      Roman Shapovalov authored
      Summary:
      Rasterize MC was not adapted to heterogeneous bundles.
      
      There are some caveats though:
      1) on CO3D, we get up to 18 points per image, which is too few for a reasonable visualisation (see below);
      2) rasterising for a batch of 100 is slow.
      
      I also moved the unpacking code close to the bundle to be able to reuse it.
      
      {F789678778}
      
      Reviewed By: bottler, davnov134
      
      Differential Revision: D41008600
      
      fbshipit-source-id: 9f10f1f9f9a174cf8c534b9b9859587d69832b71
      f3c1e083
  3. 13 Oct, 2022 1 commit
    • Jeremy Reizenstein's avatar
      better implicit function #channels errors · a607dd06
      Jeremy Reizenstein authored
      Summary: More helpful errors when the output channels aren't 1 for density and 3 for color
      
      Reviewed By: shapovalov
      
      Differential Revision: D40341088
      
      fbshipit-source-id: 6074bf7fefe11c8e60fee4db2760b776419bcfee
      a607dd06
  4. 03 Oct, 2022 1 commit
    • 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
  5. 13 Jul, 2022 1 commit
  6. 30 Jun, 2022 1 commit
    • Krzysztof Chalupka's avatar
      Refactor ViewMetrics · ae35824f
      Krzysztof Chalupka authored
      Summary:
      Make ViewMetrics easy to replace by putting them into an OmegaConf dataclass.
      
      Also, re-word a few variable names and fix minor TODOs.
      
      Reviewed By: bottler
      
      Differential Revision: D37327157
      
      fbshipit-source-id: 78d8e39bbb3548b952f10abbe05688409fb987cc
      ae35824f
  7. 09 May, 2022 1 commit
    • David Novotny's avatar
      Add **kwargs to ViewMetrics.forward · 5c598418
      David Novotny authored
      Summary: GenericModel crashes in case the `aux` field of any Renderer is populated. This is because the `rendered.aux` is unpacked to  ViewMetrics.forward whose signature does not contain **kwargs. Hence, the contents of `aux` are unknown to forward's signature resulting in a crash.
      
      Reviewed By: bottler
      
      Differential Revision: D36166118
      
      fbshipit-source-id: 906a067ea02a3648a69667422466451bc219ebf6
      5c598418
  8. 04 Apr, 2022 1 commit
    • Jeremy Reizenstein's avatar
      logging · 199309fc
      Jeremy Reizenstein authored
      Summary: Use logging instead of printing in the internals of implicitron.
      
      Reviewed By: davnov134
      
      Differential Revision: D35247581
      
      fbshipit-source-id: be5ddad5efe1409adbae0575d35ade6112b3be63
      199309fc
  9. 21 Mar, 2022 1 commit