Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
title: StableMaterials
|
| 3 |
emoji: π§±
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
|
@@ -10,4 +11,45 @@ pinned: false
|
|
| 10 |
license: openrail
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: StableMaterials
|
| 3 |
emoji: π§±
|
| 4 |
+
thumbnail: https://gvecchio.com/stablematerials/static/images/teaser.jpg
|
| 5 |
colorFrom: blue
|
| 6 |
colorTo: blue
|
| 7 |
sdk: gradio
|
|
|
|
| 11 |
license: openrail
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# StableMaterials
|
| 15 |
+
|
| 16 |
+
**StableMaterials** is a diffusion-based model designed for generating photorealistic physical-based rendering (PBR) materials. This model integrates semi-supervised learning with Latent Diffusion Models (LDMs) to produce high-resolution, tileable material maps from text or image prompts. StableMaterials can infer both diffuse (Basecolor) and specular (Roughness, Metallic) properties, as well as the material mesostructure (Height, Normal). π
|
| 17 |
+
|
| 18 |
+
For more details, visit the [project page](https://gvecchio.com/stablematerials/) or read the full paper on [arXiv](https://arxiv.org/abs/2406.09293).
|
| 19 |
+
|
| 20 |
+
<center>
|
| 21 |
+
<img src="https://gvecchio.com/stablematerials/static/images/teaser.jpg" style="border-radius:10px;">
|
| 22 |
+
</center>
|
| 23 |
+
|
| 24 |
+
## Model Architecture
|
| 25 |
+
|
| 26 |
+
<center>
|
| 27 |
+
<img src="https://gvecchio.com/stablematerials/static/images/architecture.png" style="border-radius:10px;">
|
| 28 |
+
</center>
|
| 29 |
+
|
| 30 |
+
### π§© Base Model
|
| 31 |
+
The base model generates low-resolution (512x512) material maps using a compression VAE (Variational Autoencoder) followed by a latent diffusion process. The architecture is based on the MatFuse adaptation of the LDM paradigm, optimized for material map generation with a focus on diversity and high visual fidelity. πΌοΈ
|
| 32 |
+
|
| 33 |
+
### π Key Features
|
| 34 |
+
- **Semi-Supervised Learning**: The model is trained using both annotated and unannotated data, leveraging adversarial training to distill knowledge from large-scale pretrained image generation models. π
|
| 35 |
+
- **Knowledge Distillation**: Incorporates unannotated texture samples generated using the SDXL model into the training process, bridging the gap between different data distributions. π
|
| 36 |
+
- **Latent Consistency**: Employs a latent consistency model to facilitate fast generation, reducing the inference steps required to produce high-quality outputs. β‘
|
| 37 |
+
- **Feature Rolling**: Introduces a novel tileability technique by rolling feature maps for each convolutional and attention layer in the U-Net architecture. π’
|
| 38 |
+
|
| 39 |
+
## Intended Use
|
| 40 |
+
|
| 41 |
+
StableMaterials is designed for generating high-quality, realistic PBR materials for applications in computer graphics, such as video game development, architectural visualization, and digital content creation. The model supports both text and image-based prompting, allowing for versatile and intuitive material generation. πΉοΈποΈπΈ
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
## π Citation
|
| 45 |
+
|
| 46 |
+
If you use this model in your research, please cite the following paper:
|
| 47 |
+
|
| 48 |
+
```
|
| 49 |
+
@article{vecchio2024stablematerials,
|
| 50 |
+
title={StableMaterials: Enhancing Diversity in Material Generation via Semi-Supervised Learning},
|
| 51 |
+
author={Vecchio, Giuseppe},
|
| 52 |
+
journal={arXiv preprint arXiv:2406.09293},
|
| 53 |
+
year={2024}
|
| 54 |
+
}
|
| 55 |
+
```
|