cocktailpeanut commited on
Commit
d1dc797
1 Parent(s): f3d6d6d
Files changed (6) hide show
  1. .gitattributes +1 -0
  2. LICENSE.md +51 -0
  3. README.md +97 -3
  4. config.yaml +96 -0
  5. model.safetensors +3 -0
  6. sf3d.gif +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ sf3d.gif filter=lfs diff=lfs merge=lfs -text
LICENSE.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ STABILITY AI COMMUNITY LICENSE AGREEMENT
2
+ Last Updated: July 5, 2024
3
+
4
+
5
+ I. INTRODUCTION
6
+
7
+ This Agreement applies to any individual person or entity ("You", "Your" or "Licensee") that uses or distributes any portion or element of the Stability AI Materials or Derivative Works thereof for any Research & Non-Commercial or Commercial purpose. Capitalized terms not otherwise defined herein are defined in Section V below.
8
+
9
+
10
+ This Agreement is intended to allow research, non-commercial, and limited commercial uses of the Models free of charge. In order to ensure that certain limited commercial uses of the Models continue to be allowed, this Agreement preserves free access to the Models for people or organizations generating annual revenue of less than US $1,000,000 (or local currency equivalent).
11
+
12
+
13
+ By clicking "I Accept" or by using or distributing or using any portion or element of the Stability Materials or Derivative Works, You agree that You have read, understood and are bound by the terms of this Agreement. If You are acting on behalf of a company, organization or other entity, then "You" includes you and that entity, and You agree that You: (i) are an authorized representative of such entity with the authority to bind such entity to this Agreement, and (ii) You agree to the terms of this Agreement on that entity's behalf.
14
+
15
+ II. RESEARCH & NON-COMMERCIAL USE LICENSE
16
+
17
+ Subject to the terms of this Agreement, Stability AI grants You a non-exclusive, worldwide, non-transferable, non-sublicensable, revocable and royalty-free limited license under Stability AI's intellectual property or other rights owned by Stability AI embodied in the Stability AI Materials to use, reproduce, distribute, and create Derivative Works of, and make modifications to, the Stability AI Materials for any Research or Non-Commercial Purpose. "Research Purpose" means academic or scientific advancement, and in each case, is not primarily intended for commercial advantage or monetary compensation to You or others. "Non-Commercial Purpose" means any purpose other than a Research Purpose that is not primarily intended for commercial advantage or monetary compensation to You or others, such as personal use (i.e., hobbyist) or evaluation and testing.
18
+
19
+ III. COMMERCIAL USE LICENSE
20
+
21
+ Subject to the terms of this Agreement (including the remainder of this Section III), Stability AI grants You a non-exclusive, worldwide, non-transferable, non-sublicensable, revocable and royalty-free limited license under Stability AI's intellectual property or other rights owned by Stability AI embodied in the Stability AI Materials to use, reproduce, distribute, and create Derivative Works of, and make modifications to, the Stability AI Materials for any Commercial Purpose. "Commercial Purpose" means any purpose other than a Research Purpose or Non-Commercial Purpose that is primarily intended for commercial advantage or monetary compensation to You or others, including but not limited to, (i) creating, modifying, or distributing Your product or service, including via a hosted service or application programming interface, and (ii) for Your business's or organization's internal operations.
22
+ If You are using or distributing the Stability AI Materials for a Commercial Purpose, You must register with Stability AI at (https://stability.ai/community-license). If at any time You or Your Affiliate(s), either individually or in aggregate, generate more than USD $1,000,000 in annual revenue (or the equivalent thereof in Your local currency), regardless of whether that revenue is generated directly or indirectly from the Stability AI Materials or Derivative Works, any licenses granted to You under this Agreement shall terminate as of such date. You must request a license from Stability AI at (https://stability.ai/enterprise) , which Stability AI may grant to You in its sole discretion. If you receive Stability AI Materials, or any Derivative Works thereof, from a Licensee as part of an integrated end user product, then Section III of this Agreement will not apply to you.
23
+
24
+ IV. GENERAL TERMS
25
+
26
+ Your Research, Non-Commercial, and Commercial License(s) under this Agreement are subject to the following terms.
27
+ a. Distribution & Attribution. If You distribute or make available the Stability AI Materials or a Derivative Work to a third party, or a product or service that uses any portion of them, You shall: (i) provide a copy of this Agreement to that third party, (ii) retain the following attribution notice within a "Notice" text file distributed as a part of such copies: "This Stability AI Model is licensed under the Stability AI Community License, Copyright © Stability AI Ltd. All Rights Reserved", and (iii) prominently display "Powered by Stability AI" on a related website, user interface, blogpost, about page, or product documentation. If You create a Derivative Work, You may add your own attribution notice(s) to the "Notice" text file included with that Derivative Work, provided that You clearly indicate which attributions apply to the Stability AI Materials and state in the "Notice" text file that You changed the Stability AI Materials and how it was modified.
28
+ b. Use Restrictions. Your use of the Stability AI Materials and Derivative Works, including any output or results of the Stability AI Materials or Derivative Works, must comply with applicable laws and regulations (including Trade Control Laws and equivalent regulations) and adhere to the Documentation and Stability AI's AUP, which is hereby incorporated by reference. Furthermore, You will not use the Stability AI Materials or Derivative Works, or any output or results of the Stability AI Materials or Derivative Works, to create or improve any foundational generative AI model (excluding the Models or Derivative Works).
29
+ c. Intellectual Property.
30
+ (i) Trademark License. No trademark licenses are granted under this Agreement, and in connection with the Stability AI Materials or Derivative Works, You may not use any name or mark owned by or associated with Stability AI or any of its Affiliates, except as required under Section IV(a) herein.
31
+ (ii) Ownership of Derivative Works. As between You and Stability AI, You are the owner of Derivative Works You create, subject to Stability AI's ownership of the Stability AI Materials and any Derivative Works made by or for Stability AI.
32
+ (iii) Ownership of Outputs. As between You and Stability AI, You own any outputs generated from the Models or Derivative Works to the extent permitted by applicable law.
33
+ (iv) Disputes. If You or Your Affiliate(s) institute litigation or other proceedings against Stability AI (including a cross-claim or counterclaim in a lawsuit) alleging that the Stability AI Materials, Derivative Works or associated 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 Stability AI from and against any claim by any third party arising out of or related to Your use or distribution of the Stability AI Materials or Derivative Works in violation of this Agreement.
34
+ (v) Feedback. From time to time, You may provide Stability AI with verbal and/or written suggestions, comments or other feedback related to Stability AI's existing or prospective technology, products or services (collectively, "Feedback"). You are not obligated to provide Stability AI with Feedback, but to the extent that You do, You hereby grant Stability AI a perpetual, irrevocable, royalty-free, fully-paid, sub-licensable, transferable, non-exclusive, worldwide right and license to exploit the Feedback in any manner without restriction. Your Feedback is provided "AS IS" and You make no warranties whatsoever about any Feedback.
35
+ d. Disclaimer Of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE STABILITY AI MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR 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 OR LAWFULNESS OF USING OR REDISTRIBUTING THE STABILITY AI MATERIALS, DERIVATIVE WORKS OR ANY OUTPUT OR RESULTS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE STABILITY AI MATERIALS, DERIVATIVE WORKS AND ANY OUTPUT AND RESULTS.
36
+ e. Limitation Of Liability. IN NO EVENT WILL STABILITY AI 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, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF STABILITY AI OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
37
+ f. Term And Termination. The term of this Agreement will commence upon Your acceptance of this Agreement or access to the Stability AI Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Stability AI 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 any Stability AI Materials or Derivative Works. Section IV(d), (e), and (g) shall survive the termination of this Agreement.
38
+ g. Governing Law. This Agreement will be governed by and constructed in accordance with the laws of the United States and the State of California without regard to choice of law principles, and the UN Convention on Contracts for International Sale of Goods does not apply to this Agreement.
39
+
40
+ V. DEFINITIONS
41
+
42
+ "Affiliate(s)" means any entity that directly or indirectly controls, is controlled by, or is under common control with the subject entity; for purposes of this definition, "control" means direct or indirect ownership or control of more than 50% of the voting interests of the subject entity.
43
+ "Agreement" means this Stability AI Community License Agreement.
44
+ "AUP" means the Stability AI Acceptable Use Policy available at https://stability.ai/use-policy, as may be updated from time to time.
45
+ "Derivative Work(s)" means (a) any derivative work of the Stability AI Materials as recognized by U.S. copyright laws and (b) any modifications to a Model, and any other model created which is based on or derived from the Model or the Model's output, including"fine tune" and "low-rank adaptation" models derived from a Model or a Model's output, but do not include the output of any Model.
46
+ "Documentation" means any specifications, manuals, documentation, and other written information provided by Stability AI related to the Software or Models.
47
+ "Model(s)" means, collectively, Stability AI's proprietary models and algorithms, including machine-learning models, trained model weights and other elements of the foregoing listed on Stability's Core Models Webpage available at, https://stability.ai/core-models, as may be updated from time to time.
48
+ "Stability AI" or "we" means Stability AI Ltd. and its Affiliates.
49
+ "Software" means Stability AI's proprietary software made available under this Agreement now or in the future.
50
+ "Stability AI Materials" means, collectively, Stability's proprietary Models, Software and Documentation (and any portion or combination thereof) made available under this Agreement.
51
+ "Trade Control Laws" means any applicable U.S. and non-U.S. export control and trade sanctions laws and regulations.
README.md CHANGED
@@ -1,3 +1,97 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: stabilityai-ai-community
4
+ license_link: LICENSE.md
5
+ datasets:
6
+ - allenai/objaverse
7
+ tags:
8
+ - image-to-3d
9
+ inference: false
10
+ pipeline_tag: image-to-3d
11
+ extra_gated_prompt: >-
12
+ By clicking "Agree", you agree to the [License
13
+ Agreement](https://huggingface.co/stabilityai/stable-fast-3d/blob/main/LICENSE.md)
14
+ and acknowledge Stability AI's [Privacy
15
+ Policy](https://stability.ai/privacy-policy).
16
+ extra_gated_fields:
17
+ Name: text
18
+ Email: text
19
+ Country: country
20
+ Organization or Affiliation: text
21
+ Receive email updates and promotions on Stability AI products, services, and research?:
22
+ type: select
23
+ options:
24
+ - 'Yes'
25
+ - 'No'
26
+ ---
27
+
28
+
29
+ # Stable Fast 3D
30
+ ![](sf3d.gif)
31
+ **Stable Fast 3D (SF3D)** is a large reconstruction model based on [TripoSR](https://huggingface.co/stabilityai/TripoSR), which takes in a single image of an object and generates a textured UV-unwrapped 3D mesh asset.
32
+
33
+ Please note: For individuals or organizations generating annual revenue of US $1,000,000 (or local currency equivalent) or more, regardless of the source of that revenue, you must obtain an enterprise commercial license directly from Stability AI before commercially using SF3D or any derivative work of SF3D or its outputs, such as "fine tune" models. You may submit a request for an Enterprise License at https://stability.ai/enterprise. Please refer to Stability AI's Community License, available at https://stability.ai/license, for more information.
34
+
35
+
36
+ ### Model Description
37
+
38
+ * **Developed by**: [Stability AI](https://stability.ai/)
39
+ * **Model type**: Transformer image-to-3D model
40
+ * **Model details**: This model is trained to create a 3D model from a single image in under one second. The asset is UV-unwrapped and textured and has a relatively low polygon count. We also perform a delighting step, enabling easier asset usage in downstream applications such as game engines or rendering work. The model also predicts per-object material parameters (roughness, metallic), enhancing reflective behaviors during rendering. The model expects an input size of 512x512 pixels.
41
+ Please check our [tech report](https://stable-fast-3d.github.io/static/paper.pdf) and [video summary](https://youtu.be/uT96UCBSBko) for details.
42
+
43
+
44
+ ### License
45
+
46
+ - **Community License:** Free for research, non-commercial, and commercial use by organizations and individuals generating annual revenue of US $1,000,000 (or local currency equivalent) or more, regardless of the source of that revenue. If your annual revenue exceeds US $1M, any commercial use of this model or derivative works thereof requires obtaining an Enterprise License directly from Stability AI. You may submit a request for an Enterprise License at https://stability.ai/enterprise. Please refer to Stability AI's Community License, available at https://stability.ai/license, for more information.
47
+
48
+
49
+ ### Model Sources
50
+
51
+ * **Repository**: https://github.com/Stability-AI/stable-fast-3d
52
+ * **Tech report**: https://stability.ai/s/SF3D-10.pdf
53
+ * **Video summary**: https://youtu.be/uT96UCBSBko
54
+ * **Project page**: https://stable-fast-3d.github.io
55
+ * **arXiv page**: soon
56
+
57
+
58
+ ### Training Dataset
59
+
60
+ We use renders from the [Objaverse](https://objaverse.allenai.org/) dataset, available under the Open Data Commons Attribution License. We utilize our enhanced rendering method, which more closely replicates the distribution of images found in the real world, significantly improving our model's ability to generalize. We filter objects based on the review of licenses and curate a subset suitable for our training needs.
61
+
62
+
63
+ ## Usage
64
+
65
+ For usage instructions, please refer to our [GitHub repository](https://github.com/Stability-AI/stable-fast-3d)
66
+
67
+
68
+ ### Intended Uses
69
+
70
+ Intended uses include the following:
71
+ * Generation of artworks and use in design and other artistic processes.
72
+ * Applications in educational or creative tools.
73
+ * Research on reconstruction models, including understanding the limitations of these models.
74
+
75
+ All uses of the model should be in accordance with our [Acceptable Use Policy](https://stability.ai/use-policy).
76
+
77
+
78
+ ### Out-of-Scope Uses
79
+
80
+ The model was not trained to be factual or true representations of people or events. As such, using the model to generate such content is out-of-scope of the abilities of this model.
81
+
82
+
83
+ ## Safety
84
+
85
+ As part of our safety-by-design and responsible AI deployment approach, we implement safety measures throughout the development of our models, from the time we begin pre-training a model to the ongoing development, fine-tuning, and deployment of each model. We have implemented a number of safety mitigations that are intended to reduce the risk of severe harms. However, we recommend that developers conduct their own testing and apply additional mitigations based on their specific use cases.
86
+ For more about our approach to Safety, please visit our [Safety page](https://stability.ai/safety).
87
+
88
+
89
+ ### Contact
90
+
91
+ Please report any issues with the model or contact us:
92
+
93
+ * Safety issues: [email protected]
94
+ * Security issues: [email protected]
95
+ * Privacy issues: [email protected]
96
+ * License and general: https://stability.ai/license
97
+ * Enterprise license: https://stability.ai/enterprise
config.yaml ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cond_image_size: 512
2
+ isosurface_resolution: 160
3
+ radius: 0.87
4
+
5
+ camera_embedder_cls: sf3d.models.camera.LinearCameraEmbedder
6
+ camera_embedder:
7
+ in_channels: 25
8
+ out_channels: 768
9
+ conditions:
10
+ - c2w_cond
11
+ - intrinsic_normed_cond
12
+
13
+ image_tokenizer_cls: sf3d.models.tokenizers.image.DINOV2SingleImageTokenizer
14
+ image_tokenizer:
15
+ pretrained_model_name_or_path: "facebook/dinov2-large"
16
+ width: 512
17
+ height: 512
18
+ modulation_cond_dim: 768
19
+
20
+ tokenizer_cls: sf3d.models.tokenizers.triplane.TriplaneLearnablePositionalEmbedding
21
+ tokenizer:
22
+ plane_size: 96
23
+ num_channels: 1024
24
+
25
+ backbone_cls: sf3d.models.transformers.backbone.TwoStreamInterleaveTransformer
26
+ backbone:
27
+ num_attention_heads: 16
28
+ attention_head_dim: 64
29
+ raw_triplane_channels: 1024
30
+ triplane_channels: 1024
31
+ raw_image_channels: 1024 # DINO features
32
+ num_latents: 1792
33
+ num_blocks: 4
34
+ num_basic_blocks: 3
35
+
36
+ post_processor_cls: sf3d.models.network.PixelShuffleUpsampleNetwork
37
+ post_processor:
38
+ in_channels: 1024
39
+ out_channels: 40
40
+ scale_factor: 4
41
+ conv_layers: 4
42
+
43
+
44
+ decoder_cls: sf3d.models.network.MaterialMLP
45
+ decoder:
46
+ in_channels: 120
47
+ n_neurons: 64
48
+ activation: silu
49
+ heads:
50
+ - name: density
51
+ out_channels: 1
52
+ out_bias: -1.0
53
+ n_hidden_layers: 2
54
+ output_activation: trunc_exp
55
+ - name: features
56
+ out_channels: 3
57
+ n_hidden_layers: 3
58
+ output_activation: sigmoid
59
+ - name: perturb_normal
60
+ out_channels: 3
61
+ n_hidden_layers: 3
62
+ output_activation: normalize_channel_last
63
+ - name: vertex_offset
64
+ out_channels: 3
65
+ n_hidden_layers: 2
66
+
67
+ image_estimator_cls: sf3d.models.image_estimator.clip_based_estimator.ClipBasedHeadEstimator
68
+ image_estimator:
69
+ distribution: beta
70
+ distribution_eval: mode
71
+ heads:
72
+ - name: roughness
73
+ out_channels: 1
74
+ n_hidden_layers: 3
75
+ output_activation: linear
76
+ add_to_decoder_features: true
77
+ output_bias: 1.0
78
+ shape: [-1, 1, 1]
79
+ - name: metallic
80
+ out_channels: 1
81
+ n_hidden_layers: 3
82
+ output_activation: linear
83
+ add_to_decoder_features: true
84
+ output_bias: 1.0
85
+ shape: [-1, 1, 1]
86
+
87
+ global_estimator_cls: sf3d.models.global_estimator.multi_head_estimator.MultiHeadEstimator
88
+ global_estimator:
89
+ triplane_features: 1024
90
+ heads:
91
+ - name: sg_amplitudes
92
+ out_channels: 24
93
+ n_hidden_layers: 3
94
+ output_activation: softplus
95
+ output_bias: 1.0
96
+ shape: [-1, 24, 1]
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3416e1cf654e7d4f5e75f116cec2c3f0a14501a77d30c2f6068bbda178de388
3
+ size 4024289892
sf3d.gif ADDED

Git LFS Details

  • SHA256: 1d5dcb4fbe710e94c0fa70cc2c783d66e327222cb5e74839cfd003e619bc2e1d
  • Pointer size: 132 Bytes
  • Size of remote file: 2.81 MB