CoolFace
Modelpublic

biali/texture-diffusion

sourceHugging Faceopenrail++updated 1mo agoView on Hugging Face
0likes1downloads
Model Card

Texture Diffusion

This DreamBooth model is fine-tuned for diffuse textures. It produces flat textures with very little visible lighting/shadows.

Samples

Here are a few example images (generated with 50 steps).

pbr uneven stone wallpbr dirt with weedspbr bright white marble
[image][image][image]

Usage

Use the token pbr in your prompts to invoke the style.

This model was made for use in Dream Textures, a Stable Diffusion add-on for Blender.

You can also use it with ๐Ÿงจ diffusers:

python
from diffusers import StableDiffusionPipeline
import torch

model_id = "dream-textures/texture-diffusion"

pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "pbr brick wall"
image = pipe(prompt).images[0]  
    
image.save("bricks.png")

Training Details

  • โ€”Base Model: stabilityai/stable-diffusion-2-base
  • โ€”Resolution: 512
  • โ€”Prior Loss Weight: 1.0
  • โ€”Class Prompt: texture
  • โ€”Batch Size: 1
  • โ€”Learning Rate: 1e-6
  • โ€”Precision: fp16
  • โ€”Steps: 4000
  • โ€”GPU: Tesla T4

Dataset

This model was trained on 278 CC0 textures from PolyHaven.