1. 28 Aug, 2022 2 commits
    • Jiali Duan's avatar
      Benchmark Cameras · 03562d87
      Jiali Duan authored
      Summary: Address comments to add benchmarkings for cameras and the new fisheye cameras. The dependency functions in test_cameras have been updated in Diff 1. The following two snapshots show benchmarking results.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38991914
      
      fbshipit-source-id: 51fe9bb7237543e4ee112c9f5068a4cf12a9d482
      03562d87
    • Jiali Duan's avatar
      Fisheye Camera for PyTorch3D · 2283c292
      Jiali Duan authored
      Summary:
      1. A Fisheye camera model that generalizes pinhole camera by considering distortions (i.e. radial, tangential and thin-prism distortions).
      
      2. Added tests against perspective cameras when distortions are off and Aria data points when distortions are on.
      
      3. Address comments to test unhandled shapes between points and transforms. Added tests for __FIELDS, shape broadcasts, cuda etc.
      
      4. Address earlier comments for code efficiency (e.g., adopted torch.norm; torch.solve for matrix inverse; removed inplace operations; unnecessary clone; expand in place of repeat etc).
      
      Reviewed By: jcjohnson
      
      Differential Revision: D38407094
      
      fbshipit-source-id: a3ab48c85c496ac87af692d5d461bb3fc2a2db13
      2283c292
  2. 26 Aug, 2022 2 commits
    • Darijan Gudelj's avatar
      MultiPassEmissionAbsorptionRenderer · 4711d12a
      Darijan Gudelj authored
      Summary: I think there is a typo here could not find any MultiPassEARenderer just MultiPassEmissionAbsorptionRenderer?
      
      Reviewed By: bottler
      
      Differential Revision: D39056641
      
      fbshipit-source-id: 4dd0b123fc795a0083a957786c032e23dc5abac9
      4711d12a
    • Darijan Gudelj's avatar
      Decoding functions · e7c609f1
      Darijan Gudelj authored
      Summary: Added replacable decoding functions which will be applied after the voxel grid to get color and density
      
      Reviewed By: bottler
      
      Differential Revision: D38829763
      
      fbshipit-source-id: f21ce206c1c19548206ea2ce97d7ebea3de30a23
      e7c609f1
  3. 25 Aug, 2022 1 commit
    • Darijan Gudelj's avatar
      VoxelGridModule · 24f5f4a3
      Darijan Gudelj authored
      Summary: Simple wrapper around voxel grids to make them a module
      
      Reviewed By: bottler
      
      Differential Revision: D38829762
      
      fbshipit-source-id: dfee85088fa3c65e396cc7d3bf7ebaaffaadb646
      24f5f4a3
  4. 23 Aug, 2022 7 commits
  5. 22 Aug, 2022 1 commit
    • Georgia Gkioxari's avatar
      eps fix for iou3d · 1bfe6bf2
      Georgia Gkioxari authored
      Summary: Fix EPS issue that causes numerical instabilities when boxes are very close
      
      Reviewed By: kjchalup
      
      Differential Revision: D38661465
      
      fbshipit-source-id: d2b6753cba9dc2f0072ace5289c9aa815a1a29f6
      1bfe6bf2
  6. 21 Aug, 2022 2 commits
    • Jeremy Reizenstein's avatar
      Don't force C++14 · 06cbba26
      Jeremy Reizenstein authored
      Summary: Remove compiler arguments which insist on C++14.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38858887
      
      fbshipit-source-id: 542173ec97cacfa724d14c8a4b9ce9dc2457c5d5
      06cbba26
    • Jeremy Reizenstein's avatar
      updates to CONTRIBUTING · 7ce31b4e
      Jeremy Reizenstein authored
      Summary: Fix outdated info
      
      Reviewed By: kjchalup
      
      Differential Revision: D38858766
      
      fbshipit-source-id: 52b120f355e8f9e86d777875627af02c80ee45b6
      7ce31b4e
  7. 19 Aug, 2022 2 commits
    • Max Wasylow's avatar
      Replacing custom CUDA block reductions with CUB in sample_farthest_points · 8ea4da29
      Max Wasylow authored
      Summary: Removing hardcoded block reduction operation from `sample_farthest_points.cu` code, and replace it with `cub::BlockReduce` reducing complexity of the code, and letting established libraries do the thinking for us.
      
      Reviewed By: bottler
      
      Differential Revision: D38617147
      
      fbshipit-source-id: b230029c55f05cda0aab1648d3105a8d3e92d27b
      8ea4da29
    • David Novotny's avatar
      Blender config fixes · 597bc7c7
      David Novotny authored
      Summary: Fixes the blender synthetic configs.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38786095
      
      fbshipit-source-id: 6d0784ced41a3f2904f074221108cdb56bd20e7f
      597bc7c7
  8. 18 Aug, 2022 3 commits
    • Darijan Gudelj's avatar
      Split Volumes class to data and location part · f825f7e4
      Darijan Gudelj authored
      Summary: Split Volumes class to data and location part so that location part can be reused in planned VoxelGrid classes.
      
      Reviewed By: bottler
      
      Differential Revision: D38782015
      
      fbshipit-source-id: 489da09c5c236f3b81961ce9b09edbd97afaa7c8
      f825f7e4
    • Jeremy Reizenstein's avatar
      remove stray "generic_model_args" references · fdaaa299
      Jeremy Reizenstein authored
      Summary:
      generic_model_args no longer exists. Update some references to it, mostly in doc.
      
      This fixes the testing of all the yaml files in test_forward pass.
      
      Reviewed By: shapovalov
      
      Differential Revision: D38789202
      
      fbshipit-source-id: f11417efe772d7f86368b3598aa66c52b1309dbf
      fdaaa299
    • Jeremy Reizenstein's avatar
      1GPU for implicitron tests · d42e0d3d
      Jeremy Reizenstein authored
      Reviewed By: shapovalov
      
      Differential Revision: D38794764
      
      fbshipit-source-id: 140c8a935d760bab8569d903cc52ac3dd73cd553
      d42e0d3d
  9. 17 Aug, 2022 2 commits
  10. 16 Aug, 2022 2 commits
  11. 15 Aug, 2022 3 commits
    • David Novotny's avatar
      Rename psnr -> psnr_masked to avoid confusion · d35781f2
      David Novotny authored
      Summary: Previously, "psnr" was evaluated between the masked g.t. image and the render. To avoid confusion, "psnr" is now renamed to "psnr_masked".
      
      Reviewed By: bottler
      
      Differential Revision: D38707511
      
      fbshipit-source-id: 8ee881ab1a05453d6692dde9782333a47d8c1234
      d35781f2
    • Jeremy Reizenstein's avatar
      builds for PyTorch 1.12.1, drop 1.8 · b6771233
      Jeremy Reizenstein authored
      Summary: Builds for new PyTorch 1.12.1. Drop builds for PyTorch 1.8.0 and 1.8.1.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38658991
      
      fbshipit-source-id: 6192e226c2154cd051eeee98498d9a395cfd6fd5
      b6771233
    • David Novotny's avatar
      Enable additional test-time source views for json dataset provider v2 · 2ff2c7c8
      David Novotny authored
      Summary: Adds additional source views to the eval batches for evaluating many-view models on CO3D Challenge
      
      Reviewed By: bottler
      
      Differential Revision: D38705904
      
      fbshipit-source-id: cf7d00dc7db926fbd1656dd97a729674e9ff5adb
      2ff2c7c8
  12. 13 Aug, 2022 1 commit
    • Jeremy Reizenstein's avatar
      news to README · e8616cc8
      Jeremy Reizenstein authored
      Summary: 0.6.2 and 0.7.0
      
      Reviewed By: kjchalup
      
      Differential Revision: D38659393
      
      fbshipit-source-id: eb99f3fbe381039b391419c878b7bbac4a88d619
      e8616cc8
  13. 12 Aug, 2022 1 commit
    • David Novotny's avatar
      Add full-image PSNR metric · 7b985702
      David Novotny authored
      Summary: Reports also the PSNR between the unmasked G.T. image and the render.
      
      Reviewed By: bottler
      
      Differential Revision: D38655943
      
      fbshipit-source-id: 1603a2d02116ea1ce037e5530abe1afc65a2ba93
      7b985702
  14. 11 Aug, 2022 1 commit
    • Luca Di Grazia's avatar
      Incompatible variable type fixed (#1288) · a91f15f2
      Luca Di Grazia authored
      Summary:
      **"filename"**: "projects/nerf/nerf/implicit_function.py"
      **"warning_type"**: "Incompatible variable type [9]",
      **"warning_message"**: " input_skips is declared to have type `Tuple[int]` but is used as type `Tuple[]`.",
      **"warning_line"**: 256,
      **"fix"**: input_skips: Tuple[int,...] = ()
      
      Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1288
      
      Reviewed By: kjchalup
      
      Differential Revision: D38615188
      
      Pulled By: bottler
      
      fbshipit-source-id: a014344dd6cf2125f564f948a3c905ceb84cf994
      a91f15f2
  15. 10 Aug, 2022 7 commits
    • Jeremy Reizenstein's avatar
      version 0.7.0 · 276c9a8a
      Jeremy Reizenstein authored
      Summary: new version number
      
      Reviewed By: patricklabatut
      
      Differential Revision: D38426307
      
      fbshipit-source-id: 60c6ab53bb46bdece6f20c8fed14f2351f1c606e
      276c9a8a
    • Jeremy Reizenstein's avatar
      avoid math.prod for python 3.7 · 791a0681
      Jeremy Reizenstein authored
      Summary: This makes the new volumes tutorial work on google colab.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38501906
      
      fbshipit-source-id: a606a357e929dae903dc4d9067bd1519f05b1458
      791a0681
    • Jeremy Reizenstein's avatar
      tutorial fix: add visdom · c49ebad2
      Jeremy Reizenstein authored
      Summary: need to pip install visdom in new volumes tutorial.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38501905
      
      fbshipit-source-id: 534bf097e41f05b3389e9420e6dd2b61a4517861
      c49ebad2
    • Jeremy Reizenstein's avatar
      implicitron readme updates · 1cd0cbff
      Jeremy Reizenstein authored
      Summary: add link in main readme
      
      Reviewed By: kjchalup
      
      Differential Revision: D38560053
      
      fbshipit-source-id: 0814febb67d0580394cfa2664e49e31ff7254bd4
      1cd0cbff
    • Jeremy Reizenstein's avatar
      IT readme updates · af48430e
      Jeremy Reizenstein authored
      Summary: Updates for recent replaceables.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38437370
      
      fbshipit-source-id: 00d600aa451e5849ba48107cd7a4319e9fc8549f
      af48430e
    • Jeremy Reizenstein's avatar
      LinearExponential LR · a39cad40
      Jeremy Reizenstein authored
      Summary: Linear followed by exponential LR progression. Needed for making Blender scenes converge.
      
      Reviewed By: kjchalup
      
      Differential Revision: D38557007
      
      fbshipit-source-id: ad630dbc5b8fabcb33eeb5bdeed5e4f31360bac2
      a39cad40
    • Jeremy Reizenstein's avatar
      update notebooks for 0.7.0 · 65e5bb3e
      Jeremy Reizenstein authored
      Summary: We now expect pytorch 1.12
      
      Reviewed By: patricklabatut
      
      Differential Revision: D38425758
      
      fbshipit-source-id: a22e672fcb0dc18f7d6424323d9cc6aaf5fcb4c6
      65e5bb3e
  16. 09 Aug, 2022 2 commits
    • Krzysztof Chalupka's avatar
      Mods and bugfixes for LLFF and Blender repros · c83ec355
      Krzysztof Chalupka authored
      Summary:
      LLFF (and most/all non-synth datasets) will have no background/foreground distinction. Add support for data with no fg mask.
      
      Also, we had a bug in stats loading, like this:
        * Load stats
        * One of the stats has a history of length 0
        * That's fine, e.g. maybe it's fg_error but the dataset has no notion of fg/bg. So leave it as len 0
        * Check whether all the stats have the same history length as an arbitrarily chosen "reference-stat"
        * Ooops the reference-stat happened to be the stat with length 0
        * assert (legit_stat_len == reference_stat_len (=0)) ---> failed assert
      
      Also some minor fixes (from Jeremy's other diff) to support LLFF
      
      Reviewed By: davnov134
      
      Differential Revision: D38475272
      
      fbshipit-source-id: 5b35ac86d1d5239759f537621f41a3aa4eb3bd68
      c83ec355
    • Pyre Bot Jr's avatar
      suppress errors in `vision/fair/pytorch3d` · 624bc5a2
      Pyre Bot Jr authored
      Differential Revision: D38529199
      
      fbshipit-source-id: 4bc0574493b60f13e08d9ea7bded862778b3d171
      624bc5a2
  17. 08 Aug, 2022 1 commit
    • Jeremy Reizenstein's avatar
      add implicitron tutorials to website · e924de4b
      Jeremy Reizenstein authored
      Summary: Adding the implicitron tutorials to the website
      
      Reviewed By: kjchalup
      
      Differential Revision: D38508673
      
      fbshipit-source-id: b38d43174acf6e1355b14bf6d58513f6696e7fa0
      e924de4b