- 11 Jul, 2024 1 commit
-
-
Jeremy Reizenstein authored
Summary: This is not actually needed and is causing a conda-forge confusion to do with python_abi - which needs users to have `-c conda-forge` when they install pytorch3d. Reviewed By: patricklabatut Differential Revision: D59587930 fbshipit-source-id: 961ae13a62e1b2b2ce6d8781db38bd97eca69e65
-
- 02 Apr, 2024 1 commit
-
-
Ashim Dahal authored
Summary: adjusted sample_nums to match the number of columns in the image grid. It originally produced image grid with 5 axes but only 3 images and after this fix, the block would work as intended. Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1768 Reviewed By: MichaelRamamonjisoa Differential Revision: D55632872 Pulled By: bottler fbshipit-source-id: 44d633a8068076889e49d49b8a7910dba0db37a7
-
- 28 Mar, 2024 1 commit
-
-
Roeia Kishk authored
Summary: ### Generalise tutorials' pip searching: ## Required Information: This diff contains changes to several PyTorch3D tutorials. **Purpose of this diff:** Replace the current installation code with a more streamlined approach that tries to install the wheel first and falls back to installing from source if the wheel is not found. **Why this diff is required:** This diff makes it easier to cope with new PyTorch releases and reduce the need for manual intervention, as the current process involves checking the version of PyTorch in Colab and building a new wheel if it doesn't match the expected version, which generates additional work each time there is a a new PyTorch version in Colab. **Changes:** Before: ``` if torch.__version__.startswith("2.1.") and sys.platform.startswith("linux"): # We try to install PyTorch3D via a released wheel. pyt_version_str=torch.__version__.split("+")[0].replace(".", "") version_str="".join([ f"py3{sys.version_info.minor}_cu", torch.version.cuda.replace(".",""), f"_pyt{pyt_version_str}" ]) !pip install fvcore iopath !pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/{version_str}/download.html else: # We try to install PyTorch3D from source. !pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable' ``` After: ``` pyt_version_str=torch.__version__.split("+")[0].replace(".", "") version_str="".join([ f"py3{sys.version_info.minor}_cu", torch.version.cuda.replace(".",""), f"_pyt{pyt_version_str}" ]) !pip install fvcore iopath if sys.platform.startswith("linux"): # We try to install PyTorch3D via a released wheel. !pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/{version_str}/download.html pip_list = !pip freeze need_pytorch3d = not any(i.startswith("pytorch3d==") for i in pip_list) if need_pytorch3d: # We try to install PyTorch3D from source. !pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable' ``` Reviewed By: bottler Differential Revision: D55431832 fbshipit-source-id: a8de9162470698320241ae8401427dcb1ce17c37
-
- 19 Feb, 2024 1 commit
-
-
Jeremy Reizenstein authored
Summary: version number changed with `sed -i "s/2.1\./2.2./" *b` Reviewed By: cijose Differential Revision: D53852986 fbshipit-source-id: 1662c8e6d671321887a3263bc3880d5c33d1f866
-
- 31 Oct, 2023 1 commit
-
-
Jeremy Reizenstein authored
Summary: ``` sed -i 's/startswith((\"1.13.\", \"2.0.\"))/startswith\(\"2.1.\"\)/' *b ``` Reviewed By: shapovalov Differential Revision: D50806967 fbshipit-source-id: df19462564edb1f840753efeae96b516c7a9f764
-
- 16 Jun, 2023 1 commit
-
-
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
-
- 07 Jun, 2023 1 commit
-
-
Jeremy Reizenstein authored
Summary: fixes https://github.com/facebookresearch/pytorch3d/issues/1554 , needed for Matplotlib 3.6+ Reviewed By: patricklabatut Differential Revision: D46438822 fbshipit-source-id: f3c06ad5d8e881a635edd14f96d498dca73c169f
-
- 04 Apr, 2023 1 commit
-
-
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
-
- 15 Jan, 2023 1 commit
-
-
yurimalheiros authored
Summary: - Fix the numbers in the headers. Currently, there are no header number 2, the tutorial jump from 1 to 3. - Clean some unnecessary code. Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1423 Reviewed By: shapovalov Differential Revision: D42478609 Pulled By: bottler fbshipit-source-id: c49fc10b7d38c3573c92fea737101e6c06bbea38
-
- 16 Dec, 2022 1 commit
-
-
Jeremy Reizenstein authored
Summary: Expect pytorch 1.13 Reviewed By: davidsonic Differential Revision: D42072731 fbshipit-source-id: 13ba4e7de18060dc4e5c0e10f850f17a88750fc9
-
- 03 Oct, 2022 1 commit
-
-
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
-
- 22 Sep, 2022 1 commit
-
-
Jeremy Reizenstein authored
Summary: Call expand_args_field when instantiating an object. Reviewed By: shapovalov Differential Revision: D39541931 fbshipit-source-id: de8e1038927ff0112463394412d5d8c26c4a1e17
-
- 23 Aug, 2022 1 commit
-
-
Jeremy Reizenstein authored
Summary: Fix issue #1306 Reviewed By: kjchalup Differential Revision: D38941342 fbshipit-source-id: 306ea698ab6af22b874df6e2abdaa9021b65e1ef
-
- 10 Aug, 2022 2 commits
-
-
Jeremy Reizenstein authored
Summary: need to pip install visdom in new volumes tutorial. Reviewed By: kjchalup Differential Revision: D38501905 fbshipit-source-id: 534bf097e41f05b3389e9420e6dd2b61a4517861
-
Jeremy Reizenstein authored
Summary: We now expect pytorch 1.12 Reviewed By: patricklabatut Differential Revision: D38425758 fbshipit-source-id: a22e672fcb0dc18f7d6424323d9cc6aaf5fcb4c6
-
- 04 Aug, 2022 2 commits
-
-
Jeremy Reizenstein authored
Summary: new Reviewed By: kjchalup Differential Revision: D38425731 fbshipit-source-id: 0fd8f524df6b29ceb8c7c9a674022412c1efc3b5
-
Jeremy Reizenstein authored
Summary: new Reviewed By: kjchalup Differential Revision: D38425739 fbshipit-source-id: 23e7a1dd01c034b231511acecf40ea0deb9a067f
-
- 01 Aug, 2022 1 commit
-
-
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
-
- 28 Apr, 2022 1 commit
-
-
Jeremy Reizenstein authored
Summary: colab is now 1.11.0 Differential Revision: D35980556 fbshipit-source-id: 988a06c652518fb61ccbef2e7197e3422a706250
-
- 27 Apr, 2022 1 commit
-
-
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
-
- 13 Apr, 2022 2 commits
-
-
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
-
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
-
- 24 Jan, 2022 1 commit
-
-
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
-
- 21 Jan, 2022 1 commit
-
-
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
-
- 04 Jan, 2022 2 commits
-
-
Jeremy Reizenstein authored
Summary: Manual adjustments for license changes. Reviewed By: patricklabatut Differential Revision: D33405657 fbshipit-source-id: 8a21735726f3aece9f9164da9e3b272b27db8032
-
Jeremy Reizenstein authored
Summary: Update all FB license strings to the new format. Reviewed By: patricklabatut Differential Revision: D33403538 fbshipit-source-id: 97a4596c5c888f3c54f44456dc07e718a387a02c
-
- 18 Dec, 2021 1 commit
-
-
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
-
- 13 Dec, 2021 1 commit
-
-
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
-
- 16 Aug, 2021 1 commit
-
-
Jeremy Reizenstein authored
Summary: Change doc references to master branch to its new name main. Reviewed By: nikhilaravi Differential Revision: D30303018 fbshipit-source-id: cfdbb207dfe3366de7e0ca759ed56f4b8dd894d1
-
- 03 Aug, 2021 1 commit
-
-
Jeremy Reizenstein authored
Summary: At the next release, the prebuilt PyTorch3D wheels will depend on PyTorch 1.9.0. Update the tutorials to expect this. Reviewed By: nikhilaravi Differential Revision: D29614450 fbshipit-source-id: 39978a6a55b62fb7c7e62aaa8f138e47cadd631e
-
- 06 Jul, 2021 1 commit
-
-
Jeremy Reizenstein authored
Summary: Fixes #514, so we don't assume user of the tutorial has access to utils. Reviewed By: nikhilaravi Differential Revision: D29557294 fbshipit-source-id: 10ac994be65df0822d3ee4e9d690189ff13074a2
-
- 28 Jun, 2021 1 commit
-
-
Patrick Labatut authored
Summary: Deprecate the `so3_exponential_map()` function in favor of its alias `so3_exp_map()`: this aligns with the naming of `so3_log_map()` and the recently introduced `se3_exp_map()` / `se3_log_map()` pair. Reviewed By: bottler Differential Revision: D29329966 fbshipit-source-id: b6f60b9e86b2995f70b1fbeb16f9feea05c55de9
-
- 22 Jun, 2021 2 commits
-
-
Patrick Labatut authored
Summary: License lint codebase Reviewed By: theschnitz Differential Revision: D29001799 fbshipit-source-id: 5c59869911785b0181b1663bbf430bc8b7fb2909
-
Patrick Labatut authored
Summary: Lint codebase Reviewed By: bottler Differential Revision: D29263057 fbshipit-source-id: ac97f01d2a79fead3b09c2cbb21b50ce688a577d
-
- 18 Jun, 2021 1 commit
-
-
Nikhila Ravi authored
Summary: Small fix to `fit_textured_mesh.ipynb` tutorial due to a recent change in numpy Reviewed By: bottler Differential Revision: D29219990 fbshipit-source-id: f5feeef9eb952720ea7154d066795fbbe64ce7a1
-
- 27 May, 2021 1 commit
-
-
Ignacio Rocco authored
Summary: The multiplicative factors in function embeddings go from `2**0` to `2**(self.n_harmonic_functions-1)`, and not from `2**0` to `2**self.n_harmonic_functions`. Pull Request resolved: https://github.com/fairinternal/pytorch3d/pull/13 Reviewed By: nikhilaravi Differential Revision: D28637894 Pulled By: ignacio-rocco fbshipit-source-id: da20f39eba9aaa09af5b24be1554a3bfd7556281
-
- 05 May, 2021 1 commit
-
-
Jeremy Reizenstein authored
Summary: Several tutorials were importing skimage and not using it (and it is not an official dependency of PyTorch3D). Also several had a bad call to plt.grid. Reviewed By: nikhilaravi Differential Revision: D28185822 fbshipit-source-id: adabfd0d4d339e1081c26b7b28f5e3953b492f2e
-
- 14 Apr, 2021 1 commit
-
-
Jeremy Reizenstein authored
Summary: The renderer gets used for visualization only in places. Here we avoid creating an autograd graph during that, which is not needed and can fail because some of the graph which existed earlier might be needed and has not been retained after the optimizer step. See https://github.com/facebookresearch/pytorch3d/issues/624 Reviewed By: gkioxari Differential Revision: D27593018 fbshipit-source-id: 62ae7a5a790111273aa4c566f172abd36c844bfb
-
- 09 Apr, 2021 1 commit
-
-
Jeremy Reizenstein authored
Summary: Collection of spelling things, mostly in docs / tutorials. Reviewed By: gkioxari Differential Revision: D26101323 fbshipit-source-id: 652f62bc9d71a4ff872efa21141225e43191353a
-
- 17 Mar, 2021 1 commit
-
-
Jeremy Reizenstein authored
Summary: As noted in #601, the example notebook was using an internal function _read_image from PyTorch3D, which has changed signature recently. It is not meant to be used externally. Switch to using PIL directly. Other changes: (1) removed unused skimage import. (2) some small tidyups. We now don't have places where cells modify values set by other cells. (3) removed bad calls to `plt.grid` which have no effect. Reviewed By: theschnitz, nikhilaravi Differential Revision: D27080372 fbshipit-source-id: 2fce651b3e5d7a4619f0a2b298c5db18c8fa1e2c
-