Upload 4 files
Browse files- CODE_OF_CONDUCT.md +80 -0
- CONTRIBUTING.md +39 -0
- LICENSE +52 -0
- README.md +181 -0
CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Code of Conduct
|
| 2 |
+
|
| 3 |
+
## Our Pledge
|
| 4 |
+
|
| 5 |
+
In the interest of fostering an open and welcoming environment, we as
|
| 6 |
+
contributors and maintainers pledge to make participation in our project and
|
| 7 |
+
our community a harassment-free experience for everyone, regardless of age, body
|
| 8 |
+
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
| 9 |
+
level of experience, education, socio-economic status, nationality, personal
|
| 10 |
+
appearance, race, religion, or sexual identity and orientation.
|
| 11 |
+
|
| 12 |
+
## Our Standards
|
| 13 |
+
|
| 14 |
+
Examples of behavior that contributes to creating a positive environment
|
| 15 |
+
include:
|
| 16 |
+
|
| 17 |
+
* Using welcoming and inclusive language
|
| 18 |
+
* Being respectful of differing viewpoints and experiences
|
| 19 |
+
* Gracefully accepting constructive criticism
|
| 20 |
+
* Focusing on what is best for the community
|
| 21 |
+
* Showing empathy towards other community members
|
| 22 |
+
|
| 23 |
+
Examples of unacceptable behavior by participants include:
|
| 24 |
+
|
| 25 |
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
| 26 |
+
advances
|
| 27 |
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
| 28 |
+
* Public or private harassment
|
| 29 |
+
* Publishing others' private information, such as a physical or electronic
|
| 30 |
+
address, without explicit permission
|
| 31 |
+
* Other conduct which could reasonably be considered inappropriate in a
|
| 32 |
+
professional setting
|
| 33 |
+
|
| 34 |
+
## Our Responsibilities
|
| 35 |
+
|
| 36 |
+
Project maintainers are responsible for clarifying the standards of acceptable
|
| 37 |
+
behavior and are expected to take appropriate and fair corrective action in
|
| 38 |
+
response to any instances of unacceptable behavior.
|
| 39 |
+
|
| 40 |
+
Project maintainers have the right and responsibility to remove, edit, or
|
| 41 |
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
| 42 |
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
| 43 |
+
permanently any contributor for other behaviors that they deem inappropriate,
|
| 44 |
+
threatening, offensive, or harmful.
|
| 45 |
+
|
| 46 |
+
## Scope
|
| 47 |
+
|
| 48 |
+
This Code of Conduct applies within all project spaces, and it also applies when
|
| 49 |
+
an individual is representing the project or its community in public spaces.
|
| 50 |
+
Examples of representing a project or community include using an official
|
| 51 |
+
project e-mail address, posting via an official social media account, or acting
|
| 52 |
+
as an appointed representative at an online or offline event. Representation of
|
| 53 |
+
a project may be further defined and clarified by project maintainers.
|
| 54 |
+
|
| 55 |
+
This Code of Conduct also applies outside the project spaces when there is a
|
| 56 |
+
reasonable belief that an individual's behavior may have a negative impact on
|
| 57 |
+
the project or its community.
|
| 58 |
+
|
| 59 |
+
## Enforcement
|
| 60 |
+
|
| 61 |
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
| 62 |
+
reported by contacting the project team at <opensource-conduct@meta.com>. All
|
| 63 |
+
complaints will be reviewed and investigated and will result in a response that
|
| 64 |
+
is deemed necessary and appropriate to the circumstances. The project team is
|
| 65 |
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
| 66 |
+
Further details of specific enforcement policies may be posted separately.
|
| 67 |
+
|
| 68 |
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
| 69 |
+
faith may face temporary or permanent repercussions as determined by other
|
| 70 |
+
members of the project's leadership.
|
| 71 |
+
|
| 72 |
+
## Attribution
|
| 73 |
+
|
| 74 |
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
| 75 |
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
| 76 |
+
|
| 77 |
+
[homepage]: https://www.contributor-covenant.org
|
| 78 |
+
|
| 79 |
+
For answers to common questions about this code of conduct, see
|
| 80 |
+
https://www.contributor-covenant.org/faq
|
CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Contributing to sam-3d-objects
|
| 2 |
+
We want to make contributing to this project as easy and transparent as
|
| 3 |
+
possible.
|
| 4 |
+
|
| 5 |
+
## Our Development Process
|
| 6 |
+
... (in particular how this is synced with internal changes to the project)
|
| 7 |
+
|
| 8 |
+
## Pull Requests
|
| 9 |
+
We actively welcome your pull requests.
|
| 10 |
+
|
| 11 |
+
1. Fork the repo and create your branch from `main`.
|
| 12 |
+
2. If you've added code that should be tested, add tests.
|
| 13 |
+
3. If you've changed APIs, update the documentation.
|
| 14 |
+
4. Ensure the test suite passes.
|
| 15 |
+
5. Make sure your code lints.
|
| 16 |
+
6. If you haven't already, complete the Contributor License Agreement ("CLA").
|
| 17 |
+
|
| 18 |
+
## Contributor License Agreement ("CLA")
|
| 19 |
+
In order to accept your pull request, we need you to submit a CLA. You only need
|
| 20 |
+
to do this once to work on any of Meta's open source projects.
|
| 21 |
+
|
| 22 |
+
Complete your CLA here: <https://code.facebook.com/cla>
|
| 23 |
+
|
| 24 |
+
## Issues
|
| 25 |
+
We use GitHub issues to track public bugs. Please ensure your description is
|
| 26 |
+
clear and has sufficient instructions to be able to reproduce the issue.
|
| 27 |
+
|
| 28 |
+
Meta has a [bounty program](https://bugbounty.meta.com/) for the safe
|
| 29 |
+
disclosure of security bugs. In those cases, please go through the process
|
| 30 |
+
outlined on that page and do not file a public issue.
|
| 31 |
+
|
| 32 |
+
## Coding Style
|
| 33 |
+
* 2 spaces for indentation rather than tabs
|
| 34 |
+
* 80 character line length
|
| 35 |
+
* ...
|
| 36 |
+
|
| 37 |
+
## License
|
| 38 |
+
By contributing to sam-3d-objects, you agree that your contributions will be licensed
|
| 39 |
+
under the LICENSE file in the root directory of this source tree.
|
LICENSE
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
SAM License
|
| 2 |
+
Last Updated: November 19, 2025
|
| 3 |
+
|
| 4 |
+
“Agreement” means the terms and conditions for use, reproduction, distribution and modification of the SAM Materials set forth herein.
|
| 5 |
+
|
| 6 |
+
“SAM Materials” means, collectively, Documentation and the models, software and algorithms, including machine-learning model code, trained model weights, inference-enabling code, training-enabling code, fine-tuning enabling code, and other elements of the foregoing distributed by Meta and made available under this Agreement.
|
| 7 |
+
|
| 8 |
+
“Documentation” means the specifications, manuals and documentation accompanying
|
| 9 |
+
SAM Materials distributed by Meta.
|
| 10 |
+
|
| 11 |
+
“Licensee” or “you” means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or regulations to provide legal consent and that has legal authority to bind your employer or such other person or entity if you are entering in this Agreement on their behalf.
|
| 12 |
+
|
| 13 |
+
“Meta” or “we” means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your principal place of business is in the EEA or Switzerland) or Meta Platforms, Inc. (if you are located outside of the EEA or Switzerland).
|
| 14 |
+
|
| 15 |
+
“Sanctions” means any economic or trade sanctions or restrictions administered or enforced by the United States (including the Office of Foreign Assets Control of the U.S. Department of the Treasury (“OFAC”), the U.S. Department of State and the U.S. Department of Commerce), the United Nations, the European Union, or the United Kingdom.
|
| 16 |
+
|
| 17 |
+
“Trade Controls” means any of the following: Sanctions and applicable export and import controls.
|
| 18 |
+
|
| 19 |
+
By using or distributing any portion or element of the SAM Materials, you agree to be bound by this Agreement.
|
| 20 |
+
|
| 21 |
+
1. License Rights and Redistribution.
|
| 22 |
+
|
| 23 |
+
a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Meta’s intellectual property or other rights owned by Meta embodied in the SAM Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the SAM Materials.
|
| 24 |
+
|
| 25 |
+
i. Grant of Patent License. Subject to the terms and conditions of this License, you are granted a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by Meta that are necessarily infringed alone or by combination of their contribution(s) with the SAM 3 Materials. If you institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the SAM 3 Materials incorporated within the work constitutes direct or contributory patent infringement, then any patent licenses granted to you under this License for that work shall terminate as of the date such litigation is filed.
|
| 26 |
+
|
| 27 |
+
b. Redistribution and Use.
|
| 28 |
+
|
| 29 |
+
i. Distribution of SAM Materials, and any derivative works thereof, are subject to the terms of this Agreement. If you distribute or make the SAM Materials, or any derivative works thereof, available to a third party, you may only do so under the terms of this Agreement and you shall provide a copy of this Agreement with any such SAM Materials.
|
| 30 |
+
|
| 31 |
+
ii. If you submit for publication the results of research you perform on, using, or otherwise in connection with SAM Materials, you must acknowledge the use of SAM Materials in your publication.
|
| 32 |
+
|
| 33 |
+
iii. Your use of the SAM Materials must comply with applicable laws and regulations, including Trade Control Laws and applicable privacy and data protection laws.
|
| 34 |
+
iv. Your use of the SAM Materials will not involve or encourage others to reverse engineer, decompile or discover the underlying components of the SAM Materials.
|
| 35 |
+
v. You are not the target of Trade Controls and your use of SAM Materials must comply with Trade Controls. You agree not to use, or permit others to use, SAM Materials for any activities subject to the International Traffic in Arms Regulations (ITAR) or end uses prohibited by Trade Controls, including those related to military or warfare purposes, nuclear industries or applications, espionage, or the development or use of guns or illegal weapons.
|
| 36 |
+
2. User Support. Your use of the SAM Materials is done at your own discretion; Meta does not process any information nor provide any service in relation to such use. Meta is under no obligation to provide any support services for the SAM Materials. Any support provided is “as is”, “with all faults”, and without warranty of any kind.
|
| 37 |
+
|
| 38 |
+
3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE SAM MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE SAM MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE SAM MATERIALS AND ANY OUTPUT AND RESULTS.
|
| 39 |
+
|
| 40 |
+
4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY DIRECT OR INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
|
| 41 |
+
|
| 42 |
+
5. Intellectual Property.
|
| 43 |
+
|
| 44 |
+
a. Subject to Meta’s ownership of SAM Materials and derivatives made by or for Meta, with respect to any derivative works and modifications of the SAM Materials that are made by you, as between you and Meta, you are and will be the owner of such derivative works and modifications.
|
| 45 |
+
|
| 46 |
+
b. If you institute litigation or other proceedings against Meta or any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the SAM Materials, outputs or results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other rights owned or licensable by you, then any licenses granted to you under this Agreement shall terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Meta from and against any claim by any third party arising out of or related to your use or distribution of the SAM Materials.
|
| 47 |
+
|
| 48 |
+
6. Term and Termination. The term of this Agreement will commence upon your acceptance of this Agreement or access to the SAM Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete and cease use of the SAM Materials. Sections 3, 4 and 7 shall survive the termination of this Agreement.
|
| 49 |
+
|
| 50 |
+
7. Governing Law and Jurisdiction. This Agreement will be governed and construed under the laws of the State of California without regard to choice of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement. The courts of California shall have exclusive jurisdiction of any dispute arising out of this Agreement.
|
| 51 |
+
|
| 52 |
+
8. Modifications and Amendments. Meta may modify this Agreement from time to time; provided that they are similar in spirit to the current version of the Agreement, but may differ in detail to address new problems or concerns. All such changes will be effective immediately. Your continued use of the SAM Materials after any modification to this Agreement constitutes your agreement to such modification. Except as provided in this Agreement, no modification or addition to any provision of this Agreement will be binding unless it is in writing and signed by an authorized representative of both you and Meta.
|
README.md
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
extra_gated_fields:
|
| 4 |
+
First Name: text
|
| 5 |
+
Last Name: text
|
| 6 |
+
Date of birth: date_picker
|
| 7 |
+
Country: country
|
| 8 |
+
Affiliation: text
|
| 9 |
+
Job title:
|
| 10 |
+
type: select
|
| 11 |
+
options:
|
| 12 |
+
- Student
|
| 13 |
+
- Research Graduate
|
| 14 |
+
- AI researcher
|
| 15 |
+
- AI developer/engineer
|
| 16 |
+
- Reporter
|
| 17 |
+
- Other
|
| 18 |
+
geo: ip_location
|
| 19 |
+
By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policy: checkbox
|
| 20 |
+
extra_gated_description: >-
|
| 21 |
+
The information you provide will be collected, stored, processed and shared in
|
| 22 |
+
accordance with the [Meta Privacy
|
| 23 |
+
Policy](https://www.facebook.com/privacy/policy/).
|
| 24 |
+
extra_gated_button_content: Submit
|
| 25 |
+
|
| 26 |
+
language:
|
| 27 |
+
- en
|
| 28 |
+
tags:
|
| 29 |
+
- 3d-generation
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
# SAM 3D
|
| 33 |
+
|
| 34 |
+
SAM 3D Objects is one part of SAM 3D, a pair of models for object and human mesh reconstruction. If you’re looking for SAM 3D Body, [click here](https://github.com/facebookresearch/sam-3d-body).
|
| 35 |
+
|
| 36 |
+
# SAM 3D Objects
|
| 37 |
+
|
| 38 |
+
**SAM 3D Team**, [Xingyu Chen](https://scholar.google.com/citations?user=gjSHr6YAAAAJ&hl=en&oi=sra)\*, [Fu-Jen Chu](https://fujenchu.github.io/)\*, [Pierre Gleize](https://scholar.google.com/citations?user=4imOcw4AAAAJ&hl=en&oi=ao)\*, [Kevin J Liang](https://kevinjliang.github.io/)\*, [Alexander Sax](https://alexsax.github.io/)\*, [Hao Tang](https://scholar.google.com/citations?user=XY6Nh9YAAAAJ&hl=en&oi=sra)\*, [Weiyao Wang](https://sites.google.com/view/weiyaowang/home)\*, [Michelle Guo](https://scholar.google.com/citations?user=lyjjpNMAAAAJ&hl=en&oi=ao), [Thibaut Hardin](https://github.com/Thibaut-H), [Xiang Li](https://ryanxli.github.io/)⚬, [Aohan Lin](https://github.com/linaohan), [Jia-Wei Liu](https://jia-wei-liu.github.io/), [Ziqi Ma](https://ziqi-ma.github.io/)⚬, [Anushka Sagar](https://www.linkedin.com/in/anushkasagar/), [Bowen Song](https://scholar.google.com/citations?user=QQKVkfcAAAAJ&hl=en&oi=sra)⚬, [Xiaodong Wang](https://scholar.google.com/citations?authuser=2&user=rMpcFYgAAAAJ), [Jianing Yang](https://jedyang.com/)⚬, [Bowen Zhang](http://home.ustc.edu.cn/~zhangbowen/)⚬, [Piotr Dollár](https://pdollar.github.io/)†, [Georgia Gkioxari](https://georgiagkioxari.com/)†, [Matt Feiszli](https://scholar.google.com/citations?user=A-wA73gAAAAJ&hl=en&oi=ao)†§, [Jitendra Malik](https://people.eecs.berkeley.edu/~malik/)†§
|
| 39 |
+
|
| 40 |
+
***Meta Superintelligence Labs***
|
| 41 |
+
|
| 42 |
+
*Core contributor (Alphabetical, Equal Contribution), ⚬Intern, †Project leads, §Equal Contribution
|
| 43 |
+
|
| 44 |
+
[[`Paper`](https://ai.meta.com/research/publications/sam-3d-3dfy-anything-in-images/)] [[`Code`](https://github.com/facebookresearch/sam-3d-objects)] [[`Website`](https://ai.meta.com/sam3d/)] [[`Demo`](https://www.aidemos.meta.com/segment-anything/editor/convert-image-to-3d)] [[`Blog`](https://ai.meta.com/blog/sam-3d/)] [[`BibTeX`](#citing-sam-3d-objects)]
|
| 45 |
+
|
| 46 |
+
**SAM 3D Objects** is a foundation model that reconstructs full 3D shape geometry, texture, and layout from a single image, excelling in real-world scenarios with occlusion and clutter by using progressive training and a data engine with human feedback. It outperforms prior 3D generation models in human preference tests on real-world objects and scenes. We released code, weights, online demo, and a new challenging benchmark.
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
<p align="center"><img src="doc/intro.png"/></p>
|
| 50 |
+
|
| 51 |
+
-----
|
| 52 |
+
|
| 53 |
+
<p align="center"><img src="doc/arch.png"/></p>
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
## Latest updates
|
| 57 |
+
|
| 58 |
+
**11/19/2025** - Checkpoints Launched, Web Demo and Paper are out.
|
| 59 |
+
|
| 60 |
+
## Installation
|
| 61 |
+
|
| 62 |
+
Follow the [setup](https://github.com/facebookresearch/sam-3d-objects/blob/main/doc/setup.md) steps before running the following.
|
| 63 |
+
|
| 64 |
+
## Single or Multi-Object 3D Generation
|
| 65 |
+
|
| 66 |
+
SAM 3D Objects can convert masked objects in an image, into 3D models with pose.
|
| 67 |
+
|
| 68 |
+
<img src="doc/kidsroom.png" width="49%" style="display: inline-block;"/><img src="doc/kidsroom_transparent.gif" width="49%" style="display: inline-block;"/>
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
For a quick start, use the the following lines of code:
|
| 72 |
+
|
| 73 |
+
```python
|
| 74 |
+
import sys
|
| 75 |
+
|
| 76 |
+
# import inference code
|
| 77 |
+
sys.path.append("notebook")
|
| 78 |
+
from inference import Inference, load_image, load_single_mask
|
| 79 |
+
|
| 80 |
+
# load model
|
| 81 |
+
tag = "hf"
|
| 82 |
+
config_path = f"checkpoints/{tag}/pipeline.yaml"
|
| 83 |
+
inference = Inference(config_path, compile=False)
|
| 84 |
+
|
| 85 |
+
# load image (RGBA only, mask is embedded in the alpha channel)
|
| 86 |
+
image = load_image("notebook/images/shutterstock_stylish_kidsroom_1640806567/image.png")
|
| 87 |
+
mask = load_single_mask("notebook/images/shutterstock_stylish_kidsroom_1640806567", index=14)
|
| 88 |
+
|
| 89 |
+
# run model
|
| 90 |
+
output = inference(image, mask, seed=42)
|
| 91 |
+
|
| 92 |
+
# export gaussian splat
|
| 93 |
+
output["gs"].save_ply(f"splat.ply")
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
For more details and multi-object reconstruction, please take a look at out two jupyter notebooks:
|
| 97 |
+
* [single object](https://github.com/facebookresearch/sam-3d-objects/blob/main/notebook/demo_single_object.ipynb)
|
| 98 |
+
* [multi object](https://github.com/facebookresearch/sam-3d-objects/blob/main/notebook/demo_multi_object.ipynb)
|
| 99 |
+
|
| 100 |
+
## SAM 3D Body
|
| 101 |
+
|
| 102 |
+
[SAM 3D Body (3DB)](https://github.com/facebookresearch/sam-3d-body) is a robust promptable foundation model for single-image 3D human mesh recovery (HMR).
|
| 103 |
+
|
| 104 |
+
As a way to combine the strengths of both **SAM 3D Objects** and **SAM 3D Body**, we provide an example notebook that demonstrates how to combine the results of both models such that they are aligned in the same frame of reference. Check it out [here](https://github.com/facebookresearch/sam-3d-objects/blob/main/notebook/demo_3db_mesh_alignment.ipynb).
|
| 105 |
+
|
| 106 |
+
## License
|
| 107 |
+
|
| 108 |
+
The SAM 3D Objects model checkpoints and code are licensed under [SAM License](./LICENSE).
|
| 109 |
+
|
| 110 |
+
## Contributing
|
| 111 |
+
|
| 112 |
+
See [contributing](CONTRIBUTING.md) and the [code of conduct](CODE_OF_CONDUCT.md).
|
| 113 |
+
|
| 114 |
+
## Contributors
|
| 115 |
+
|
| 116 |
+
The SAM 3D Objects project was made possible with the help of many contributors.
|
| 117 |
+
|
| 118 |
+
Robbie Adkins,
|
| 119 |
+
Paris Baptiste,
|
| 120 |
+
Karen Bergan,
|
| 121 |
+
Kai Brown,
|
| 122 |
+
Michelle Chan,
|
| 123 |
+
Ida Cheng,
|
| 124 |
+
Khadijat Durojaiye,
|
| 125 |
+
Patrick Edwards,
|
| 126 |
+
Daniella Factor,
|
| 127 |
+
Facundo Figueroa,
|
| 128 |
+
Rene de la Fuente,
|
| 129 |
+
Eva Galper,
|
| 130 |
+
Cem Gokmen,
|
| 131 |
+
Alex He,
|
| 132 |
+
Enmanuel Hernandez,
|
| 133 |
+
Dex Honsa,
|
| 134 |
+
Leonna Jones,
|
| 135 |
+
Arpit Kalla,
|
| 136 |
+
Kris Kitani,
|
| 137 |
+
Helen Klein,
|
| 138 |
+
Kei Koyama,
|
| 139 |
+
Robert Kuo,
|
| 140 |
+
Vivian Lee,
|
| 141 |
+
Alex Lende,
|
| 142 |
+
Jonny Li,
|
| 143 |
+
Kehan Lyu,
|
| 144 |
+
Faye Ma,
|
| 145 |
+
Mallika Malhotra,
|
| 146 |
+
Sasha Mitts,
|
| 147 |
+
William Ngan,
|
| 148 |
+
George Orlin,
|
| 149 |
+
Peter Park,
|
| 150 |
+
Don Pinkus,
|
| 151 |
+
Roman Radle,
|
| 152 |
+
Nikhila Ravi,
|
| 153 |
+
Azita Shokrpour,
|
| 154 |
+
Jasmine Shone,
|
| 155 |
+
Zayida Suber,
|
| 156 |
+
Phillip Thomas,
|
| 157 |
+
Tatum Turner,
|
| 158 |
+
Joseph Walker,
|
| 159 |
+
Meng Wang,
|
| 160 |
+
Claudette Ward,
|
| 161 |
+
Andrew Westbury,
|
| 162 |
+
Lea Wilken,
|
| 163 |
+
Nan Yang,
|
| 164 |
+
Yael Yungster
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
## Citing SAM 3D Objects
|
| 168 |
+
|
| 169 |
+
If you use SAM 3D Objects in your research, please use the following BibTeX entry.
|
| 170 |
+
|
| 171 |
+
```
|
| 172 |
+
@article{sam3dteam2025sam3d3dfyimages,
|
| 173 |
+
title={SAM 3D: 3Dfy Anything in Images},
|
| 174 |
+
author={SAM 3D Team and Xingyu Chen and Fu-Jen Chu and Pierre Gleize and Kevin J Liang and Alexander Sax and Hao Tang and Weiyao Wang and Michelle Guo and Thibaut Hardin and Xiang Li and Aohan Lin and Jiawei Liu and Ziqi Ma and Anushka Sagar and Bowen Song and Xiaodong Wang and Jianing Yang and Bowen Zhang and Piotr Dollár and Georgia Gkioxari and Matt Feiszli and Jitendra Malik},
|
| 175 |
+
year={2025},
|
| 176 |
+
eprint={2511.16624},
|
| 177 |
+
archivePrefix={arXiv},
|
| 178 |
+
primaryClass={cs.CV},
|
| 179 |
+
url={https://arxiv.org/abs/2511.16624},
|
| 180 |
+
}
|
| 181 |
+
```
|