mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 06:10:34 +08:00
Initial commit
fbshipit-source-id: ad58e416e3ceeca85fae0583308968d04e78fe0d
This commit is contained in:
76
.github/CODE_OF_CONDUCT.md
vendored
Normal file
76
.github/CODE_OF_CONDUCT.md
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
# Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to make participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||
level of experience, education, socio-economic status, nationality, personal
|
||||
appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies within all project spaces, and it also applies when
|
||||
an individual is representing the project or its community in public spaces.
|
||||
Examples of representing a project or community include using an official
|
||||
project e-mail address, posting via an official social media account, or acting
|
||||
as an appointed representative at an online or offline event. Representation of
|
||||
a project may be further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at <opensource-conduct@fb.com>. All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see
|
||||
https://www.contributor-covenant.org/faq
|
||||
54
.github/CONTRIBUTING.md
vendored
Normal file
54
.github/CONTRIBUTING.md
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
# Contributing to PyTorch3D
|
||||
We want to make contributing to this project as easy and transparent as
|
||||
possible.
|
||||
|
||||
## Pull Requests
|
||||
We actively welcome your pull requests.
|
||||
|
||||
However, if you're adding any significant features, please make sure to have a corresponding issue to outline your proposal and motivation and allow time for us to give feedback, *before* you send a PR.
|
||||
We do not always accept new features, and we take the following factors into consideration:
|
||||
|
||||
- Whether the same feature can be achieved without modifying PyTorch3d directly. If any aspect of the API is not extensible, please highlight this in an issue so we can work on making this more extensible.
|
||||
- Whether the feature is potentially useful to a large audience, or only to a small portion of users.
|
||||
- Whether the proposed solution has a good design and interface.
|
||||
- Whether the proposed solution adds extra mental/practical overhead to users who don't need such feature.
|
||||
- Whether the proposed solution breaks existing APIs.
|
||||
|
||||
When sending a PR, please ensure you complete the following steps:
|
||||
|
||||
1. Fork the repo and create your branch from `master`. Follow the instructions
|
||||
in [INSTALL.md](../INSTALL.md) to build the repo.
|
||||
2. If you've added code that should be tested, add tests.
|
||||
3. If you've changed any APIs, please update the documentation.
|
||||
4. Ensure the test suite passes:
|
||||
```
|
||||
cd pytorch3d/tests
|
||||
python -m unittest -v
|
||||
```
|
||||
5. Make sure your code lints by running `dev/linter.sh` from the project root.
|
||||
6. If a PR contains multiple orthogonal changes, split it into multiple separate PRs.
|
||||
7. If you haven't already, complete the Contributor License Agreement ("CLA").
|
||||
|
||||
## Contributor License Agreement ("CLA")
|
||||
In order to accept your pull request, we need you to submit a CLA. You only need
|
||||
to do this once to work on any of Facebook's open source projects.
|
||||
|
||||
Complete your CLA here: <https://code.facebook.com/cla>
|
||||
|
||||
## Issues
|
||||
We use GitHub issues to track public bugs. Please ensure your description is
|
||||
clear and has sufficient instructions to be able to reproduce the issue.
|
||||
|
||||
Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
|
||||
disclosure of security bugs. In those cases, please go through the process
|
||||
outlined on that page and do not file a public issue.
|
||||
|
||||
## Coding Style
|
||||
We follow these [python](http://google.github.io/styleguide/pyguide.html) and [C++](https://google.github.io/styleguide/cppguide.html) style guides.
|
||||
|
||||
For the linter to work, you will need to install `black`, `flake`, `isort` and `clang-format`, and
|
||||
they need to be fairly up to date.
|
||||
|
||||
## License
|
||||
By contributing to PyTorch3D, you agree that your contributions will be licensed
|
||||
under the LICENSE file in the root directory of this source tree.
|
||||
28
.github/ISSUE_TEMPLATE/bugs.md
vendored
Normal file
28
.github/ISSUE_TEMPLATE/bugs.md
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
name: "🐛 Bugs / Unexpected behaviors"
|
||||
about: Please report unexpected behaviors or bugs in PyTorch3d.
|
||||
|
||||
---
|
||||
|
||||
If you do not know the root cause of the problem / bug, and wish someone to help you, please
|
||||
post according to this template:
|
||||
|
||||
## 🐛 Bugs / Unexpected behaviors
|
||||
<!-- A clear and concise description of the issue -->
|
||||
|
||||
## Instructions To Reproduce the Issue:
|
||||
|
||||
Please include the following (depending on what the issue is):
|
||||
|
||||
1. Any changes you made (`git diff`) or code you wrote
|
||||
```
|
||||
<put diff or code here>
|
||||
```
|
||||
2. The exact command(s) you ran:
|
||||
3. What you observed (including the full logs):
|
||||
```
|
||||
<put logs here>
|
||||
```
|
||||
|
||||
Please also simplify the steps as much as possible so they do not require additional resources to
|
||||
run, such as a private dataset.
|
||||
1
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
1
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
blank_issues_enabled: false
|
||||
19
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
19
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: "\U0001F680 Feature Request"
|
||||
about: Submit a proposal/request for a new PyTorch3d feature
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Feature
|
||||
<!-- A clear and concise description of the feature proposal -->
|
||||
|
||||
## Motivation
|
||||
|
||||
<!-- Please outline the motivation for the proposal.
|
||||
e.g. It would be great if I could do [...], I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
|
||||
|
||||
## Pitch
|
||||
|
||||
<!-- A clear and concise description, optionally with code examples showing the functionality you want. -->
|
||||
|
||||
NOTE: we only consider adding new features if they are useful for many users.
|
||||
18
.github/ISSUE_TEMPLATE/questions-help.md
vendored
Normal file
18
.github/ISSUE_TEMPLATE/questions-help.md
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
name: "❓ Questions"
|
||||
about: How do I do X with PyTorch3d? How does PyTorch3d do X?
|
||||
|
||||
---
|
||||
|
||||
## ❓ Questions on how to use PyTorch3d
|
||||
|
||||
<!-- A clear and concise description of the question you need help with. -->
|
||||
|
||||
NOTE:
|
||||
|
||||
1. If you encountered any errors or unexpected issues while using PyTorch3d and need help resolving them,
|
||||
please use the "Bugs / Unexpected behaviors" issue template.
|
||||
|
||||
2. We do not answer general machine learning / computer vision questions that are not specific to
|
||||
PyTorch3d, such as how a model works or what algorithm/methods can be
|
||||
used to achieve X.
|
||||
BIN
.github/bundle_adjust.gif
vendored
Normal file
BIN
.github/bundle_adjust.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
BIN
.github/camera_position_teapot.gif
vendored
Normal file
BIN
.github/camera_position_teapot.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
BIN
.github/dolphin_deform.gif
vendored
Normal file
BIN
.github/dolphin_deform.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 648 KiB |
BIN
.github/pytorch3dlogo.png
vendored
Normal file
BIN
.github/pytorch3dlogo.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
.github/render_textured_mesh.gif
vendored
Normal file
BIN
.github/render_textured_mesh.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 742 KiB |
Reference in New Issue
Block a user