Add pattern linter for project names

Summary: Add pattern linter for PyTorch3D and SlowFast, this will suggest typo fixes whenever the wrong case is accidentally used.

Reviewed By: wanyenlo

Differential Revision: D20498696

fbshipit-source-id: 1a3f4702bd0dbe06e81d0f301b3ea38ea62e7885
This commit is contained in:
Patrick Labatut 2020-03-18 11:36:12 -07:00 committed by Facebook GitHub Bot
parent eeb6bd3b09
commit 5218f45c2c
4 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ pip install scikit-image matplotlib imageio
pip install black isort flake8 flake8-bugbear flake8-comprehensions pip install black isort flake8 flake8-bugbear flake8-comprehensions
``` ```
## Installing prebuilt binaries for Pytorch3d ## Installing prebuilt binaries for PyTorch3D
After installing the above dependencies, run one of the following commands: After installing the above dependencies, run one of the following commands:
### 1. Install with CUDA support from Anaconda Cloud, on Linux only ### 1. Install with CUDA support from Anaconda Cloud, on Linux only

View File

@ -55,7 +55,7 @@ We also have deep dive notes on several API components:
## Development ## Development
We welcome new contributions to Pytorch3d and we will be actively maintaining this library! Please refer to [CONTRIBUTING.md](./.github/CONTRIBUTING.md) for full instructions on how to run the code, tests and linter, and submit your pull requests. We welcome new contributions to PyTorch3D and we will be actively maintaining this library! Please refer to [CONTRIBUTING.md](./.github/CONTRIBUTING.md) for full instructions on how to run the code, tests and linter, and submit your pull requests.
## Contributors ## Contributors

View File

@ -879,7 +879,7 @@ def get_world_to_view_transform(R=r, T=t) -> Transform3d:
matrix to go from world space to view space by applying a rotation and matrix to go from world space to view space by applying a rotation and
a translation. a translation.
Pytorch3d uses the same convention as Hartley & Zisserman. PyTorch3D uses the same convention as Hartley & Zisserman.
I.e., for camera extrinsic parameters R (rotation) and T (translation), I.e., for camera extrinsic parameters R (rotation) and T (translation),
we map a 3D point `X_world` in world coordinates to we map a 3D point `X_world` in world coordinates to
a point `X_cam` in camera coordinates with: a point `X_cam` in camera coordinates with:

View File

@ -110,7 +110,7 @@ if __name__ == "__main__":
"--repo_dir", "--repo_dir",
metavar="path", metavar="path",
required=True, required=True,
help="Pytorch3D repo directory.", help="PyTorch3D repo directory.",
) )
args = parser.parse_args() args = parser.parse_args()
gen_tutorials(args.repo_dir) gen_tutorials(args.repo_dir)