1. 16 Jun, 2023 2 commits
    • Jeremy Reizenstein's avatar
      docs build remove mock after D45600232 · dc2c7e48
      Jeremy Reizenstein authored
      Summary: We now use unittest.mock
      
      Reviewed By: shapovalov
      
      Differential Revision: D45868799
      
      fbshipit-source-id: cd1042dc2c49c82c7b9e024f761c496049a31beb
      dc2c7e48
    • Richard Higgins's avatar
      1-line tutorial notebook plotting change to fix blank figure problem (#1549) · 88429853
      Richard Higgins authored
      Summary:
      Hi,
      
      Not sure this is the best fix. But while running this notebook, I only ever saw a blank canvas when trying to visualize the dolphin. It might be that I have a broken dependency, like plotly. I also don't know what the visualization is "supposed" to look like.
      
      But incase other people have this issue, this one line change solved the whole problem for me. Now I have a happy, rotatable dolphin.
      
      Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1549
      
      Reviewed By: shapovalov
      
      Differential Revision: D46350930
      
      Pulled By: bottler
      
      fbshipit-source-id: e19aa71eb05a93e2955262a2c90d1f0d09576228
      88429853
  2. 07 Jun, 2023 1 commit
  3. 05 May, 2023 2 commits
  4. 04 Apr, 2023 1 commit
    • Jeremy Reizenstein's avatar
      update notebooks for 0.7.3 · 274b6df9
      Jeremy Reizenstein authored
      Summary:
      Allow pytorch2.0 download:
      ```
      sed -i 's/startswith(\\"1.13.\\")/startswith\(\(\\"1.13.\\", \\"2.0.\\"\)\)/' *b
      ```
      
      Remove lines which download and install CUB:
      ```
      sed -i.bak '/1.10\.0/d' *b
      rm *.bak
      ```
      
      Reviewed By: davidsonic
      
      Differential Revision: D44343299
      
      fbshipit-source-id: e8399b5dd10068c717178ba9ffb0630bacca3253
      274b6df9
  5. 09 Mar, 2023 1 commit
  6. 15 Jan, 2023 1 commit
  7. 16 Dec, 2022 1 commit
    • Jeremy Reizenstein's avatar
      Update notebooks for 0.7.2 · 6c053a6c
      Jeremy Reizenstein authored
      Summary: Expect pytorch 1.13
      
      Reviewed By: davidsonic
      
      Differential Revision: D42072731
      
      fbshipit-source-id: 13ba4e7de18060dc4e5c0e10f850f17a88750fc9
      6c053a6c
  8. 15 Nov, 2022 1 commit
    • Jeremy Reizenstein's avatar
      renderer and vis readthedocs #1363 · 9a0b0c2e
      Jeremy Reizenstein authored
      Summary: Autogenerate docs for the renderer too. This will be helpful but make a slightly ugly TOC
      
      Reviewed By: kjchalup
      
      Differential Revision: D40977315
      
      fbshipit-source-id: 10831de3ced68080cb5671c5dc31d4da8500f761
      9a0b0c2e
  9. 02 Nov, 2022 1 commit
    • Jeremy Reizenstein's avatar
      more readthedocs · c54e0486
      Jeremy Reizenstein authored
      Summary: Quote formats, spelling
      
      Reviewed By: shapovalov
      
      Differential Revision: D40913734
      
      fbshipit-source-id: d6dea65d5204b3c463c656a07ef9b447b7be6a0a
      c54e0486
  10. 01 Nov, 2022 1 commit
    • David Novotny's avatar
      readthedocs fixes · f7ac7b60
      David Novotny authored
      Summary: Fixes readthedocs. Sphinx build looks good.
      
      Reviewed By: bottler
      
      Differential Revision: D40893196
      
      fbshipit-source-id: bf00384b921d4ef54e64745ed39172358c2f9bb3
      f7ac7b60
  11. 31 Oct, 2022 1 commit
    • Jeremy Reizenstein's avatar
      Add implicitron to readthedocs · cd113efd
      Jeremy Reizenstein authored
      Summary: Try to document implicitron. Most of this is autogenerated.
      
      Reviewed By: shapovalov
      
      Differential Revision: D40623742
      
      fbshipit-source-id: 453508277903b7d987b1703656ba1ee09bc2c570
      cd113efd
  12. 27 Oct, 2022 1 commit
    • Jeremy Reizenstein's avatar
      attempt to fix doc build #1363 · 88620b68
      Jeremy Reizenstein authored
      Summary: installing from git: is failing
      
      Reviewed By: shapovalov
      
      Differential Revision: D40635668
      
      fbshipit-source-id: 604ba5425e14caeabe4e178bf7f851f2163419bd
      88620b68
  13. 16 Oct, 2022 1 commit
  14. 03 Oct, 2022 1 commit
    • Darijan Gudelj's avatar
      ImplicitronRayBundle · ad8907d3
      Darijan Gudelj authored
      Summary: new implicitronRayBundle with added cameraIDs and camera counts. Added to enable a single raybundle inside Implicitron and easier extension in the future. Since RayBundle is named tuple and RayBundleHeterogeneous is dataclass and RayBundleHeterogeneous cannot inherit RayBundle. So if there was no ImplicitronRayBundle every function that uses RayBundle now would have to use Union[RayBundle, RaybundleHeterogeneous] which is confusing and unecessary complicated.
      
      Reviewed By: bottler, kjchalup
      
      Differential Revision: D39262999
      
      fbshipit-source-id: ece160e32f6c88c3977e408e966789bf8307af59
      ad8907d3
  15. 22 Sep, 2022 1 commit
    • Jeremy Reizenstein's avatar
      make expand_args_fields optional · d6a197be
      Jeremy Reizenstein authored
      Summary: Call expand_args_field when instantiating an object.
      
      Reviewed By: shapovalov
      
      Differential Revision: D39541931
      
      fbshipit-source-id: de8e1038927ff0112463394412d5d8c26c4a1e17
      d6a197be
  16. 23 Aug, 2022 1 commit
    • Jeremy Reizenstein's avatar
      Update SMPL url · 5e7707b1
      Jeremy Reizenstein authored
      Summary: Fix issue #1306
      
      Reviewed By: kjchalup
      
      Differential Revision: D38941342
      
      fbshipit-source-id: 306ea698ab6af22b874df6e2abdaa9021b65e1ef
      5e7707b1
  17. 10 Aug, 2022 2 commits
    • 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
      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
  18. 04 Aug, 2022 2 commits
    • Jeremy Reizenstein's avatar
      config system tutorial · b28754f8
      Jeremy Reizenstein authored
      Summary: new
      
      Reviewed By: kjchalup
      
      Differential Revision: D38425731
      
      fbshipit-source-id: 0fd8f524df6b29ceb8c7c9a674022412c1efc3b5
      b28754f8
    • Jeremy Reizenstein's avatar
      volumes tutorial · 89d8eebc
      Jeremy Reizenstein authored
      Summary: new
      
      Reviewed By: kjchalup
      
      Differential Revision: D38425739
      
      fbshipit-source-id: 23e7a1dd01c034b231511acecf40ea0deb9a067f
      89d8eebc
  19. 01 Aug, 2022 1 commit
    • Jeremy Reizenstein's avatar
      provide cow dataset · 14bd5e28
      Jeremy Reizenstein authored
      Summary: Make a dummy single-scene dataset using the code from generate_cow_renders (used in existing NeRF tutorials)
      
      Reviewed By: kjchalup
      
      Differential Revision: D38116910
      
      fbshipit-source-id: 8db6df7098aa221c81d392e5cd21b0e67f65bd70
      14bd5e28
  20. 06 May, 2022 1 commit
    • Jeremy Reizenstein's avatar
      Add vis to readthedocs · 44ca5f95
      Jeremy Reizenstein authored
      Summary: pytorch3d/vis has been missing. Reduce prominence of common.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D36008733
      
      fbshipit-source-id: bbc9fbb031c8dc95870087fa48df29410ae69e35
      44ca5f95
  21. 28 Apr, 2022 1 commit
  22. 27 Apr, 2022 1 commit
    • Krzysztof Chalupka's avatar
      fit_textured_mesh tutorial fixes · 7ea0756b
      Krzysztof Chalupka authored
      Summary: Updated to FoV cameras and added perspective_correct=False, otherwise it'll nan out.
      
      Reviewed By: bottler
      
      Differential Revision: D35970900
      
      fbshipit-source-id: 569b8de0b124d415f4b841924ddc85585cee2dda
      7ea0756b
  23. 14 Apr, 2022 1 commit
  24. 13 Apr, 2022 2 commits
    • Tim Hatch's avatar
      apply import merging for fbcode/vision/fair (2 of 2) · 34bbb3ad
      Tim Hatch authored
      Summary:
      Applies new import merging and sorting from µsort v1.0.
      
      When merging imports, µsort will make a best-effort to move associated
      comments to match merged elements, but there are known limitations due to
      the diynamic nature of Python and developer tooling. These changes should
      not produce any dangerous runtime changes, but may require touch-ups to
      satisfy linters and other tooling.
      
      Note that µsort uses case-insensitive, lexicographical sorting, which
      results in a different ordering compared to isort. This provides a more
      consistent sorting order, matching the case-insensitive order used when
      sorting import statements by module name, and ensures that "frog", "FROG",
      and "Frog" always sort next to each other.
      
      For details on µsort's sorting and merging semantics, see the user guide:
      https://usort.readthedocs.io/en/stable/guide.html#sorting
      
      Reviewed By: bottler
      
      Differential Revision: D35553814
      
      fbshipit-source-id: be49bdb6a4c25264ff8d4db3a601f18736d17be1
      34bbb3ad
    • h5jam's avatar
      fix typo on NeRF tutorial (#1163) · 0a7c354d
      h5jam authored
      Summary:
      Hello, I'm Seungoh from South Korea.
      
      I'm finding typo while I'm learning tutorials.
      Wrong numbers are changed to right numbers.
      
      Thank you.
      
      Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1163
      
      Reviewed By: patricklabatut
      
      Differential Revision: D35546843
      
      Pulled By: bottler
      
      fbshipit-source-id: b6e70cdf821fd4a108dfd416e8f4bcb3ecbeb449
      0a7c354d
  25. 24 Jan, 2022 1 commit
    • Jeremy Reizenstein's avatar
      avoid deprecated raysamplers · 67778cae
      Jeremy Reizenstein authored
      Summary: Migrate away from NDCGridRaysampler and GridRaysampler to their more flexible replacements.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D33281584
      
      fbshipit-source-id: 65f8702e700a32d38f7cd6bda3924bb1707a0633
      67778cae
  26. 21 Jan, 2022 1 commit
    • Jeremy Reizenstein's avatar
      safer pip install in doc · 174738c3
      Jeremy Reizenstein authored
      Summary: Add --no-cache and --no-index to all commands which try to download wheels from S3, to avoid hitting pypi.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D33507975
      
      fbshipit-source-id: ee796e43cc1864e475cd73c248e9900487012f25
      174738c3
  27. 04 Jan, 2022 2 commits
    • Jeremy Reizenstein's avatar
      More company name & License · 741777b5
      Jeremy Reizenstein authored
      Summary: Manual adjustments for license changes.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D33405657
      
      fbshipit-source-id: 8a21735726f3aece9f9164da9e3b272b27db8032
      741777b5
    • Jeremy Reizenstein's avatar
      Update license for company name · 9eeb456e
      Jeremy Reizenstein authored
      Summary: Update all FB license strings to the new format.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D33403538
      
      fbshipit-source-id: 97a4596c5c888f3c54f44456dc07e718a387a02c
      9eeb456e
  28. 21 Dec, 2021 1 commit
    • Jeremy Reizenstein's avatar
      screen space docstrings fix · eb2bbf84
      Jeremy Reizenstein authored
      Summary: Fix some comments to match the recent change to transform_points_screen.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D33243697
      
      fbshipit-source-id: dc8d182667a9413bca2c2e3657f97b2f7a47c795
      eb2bbf84
  29. 18 Dec, 2021 1 commit
    • Jeremy Reizenstein's avatar
      PyTorch>1.9 version str · 1152a93b
      Jeremy Reizenstein authored
      Summary: Make code for downloading linux wheels robust to double-digit PyTorch minor version.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D33170562
      
      fbshipit-source-id: 559a97cc98ff8411e235a9f9e29f84b7a400c716
      1152a93b
  30. 13 Dec, 2021 1 commit
    • Jeremy Reizenstein's avatar
      update tutorials for release · 093999e7
      Jeremy Reizenstein authored
      Summary: Pre 0.6.1 release, make the tutorials expect wheels with PyTorch 1.10.0
      
      Reviewed By: patricklabatut
      
      Differential Revision: D33016834
      
      fbshipit-source-id: b8c5c1c6158f806c3e55ec668117fa762fa4b75f
      093999e7
  31. 07 Dec, 2021 1 commit
    • Jeremy Reizenstein's avatar
      screen cameras lose -1 · bf3bc6f8
      Jeremy Reizenstein authored
      Summary:
      All the renderers in PyTorch3D (pointclouds including pulsar, meshes, raysampling) use align_corners=False style. NDC space goes between the edges of the outer pixels. For a non square image with W>H, the vertical NDC space goes from -1 to 1 and the horizontal from -W/H to W/H.
      
      However it was recently pointed out that functionality which deals with screen space inside the camera classes is inconsistent with this. It unintentionally uses align_corners=True. This fixes that.
      
      This would change behaviour of the following:
      - If you create a camera in screen coordinates, i.e. setting in_ndc=False, then anything you do with the camera which touches NDC space may be affected, including trying to use renderers. The transform_points_screen function will not be affected...
      - If you call the function “transform_points_screen” on a camera defined in NDC space results will be different. I have illustrated in the diff how to get the old results from the new results but this probably isn’t the right long-term solution..
      
      Reviewed By: gkioxari
      
      Differential Revision: D32536305
      
      fbshipit-source-id: 377325a9137282971dcb7ca11a6cba3fc700c9ce
      bf3bc6f8
  32. 24 Nov, 2021 1 commit
  33. 17 Oct, 2021 1 commit
  34. 16 Oct, 2021 1 commit
    • Jeremy Reizenstein's avatar
      Remove version number from docs title · 14dd2611
      Jeremy Reizenstein authored
      Summary: Small docs fixes: spelling. Avoid things which get out of date quickly: year, version.
      
      Reviewed By: patricklabatut
      
      Differential Revision: D31659927
      
      fbshipit-source-id: b0111140bdaf3c6cadc09f70621bf5656909ca02
      14dd2611