Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
diffusers-training
stable-diffusion-2
stable-diffusion-2-diffusers
science
materiomics
bio-inspired
materials science
text-to-3D
text-to-STL
text-t-mesh
additive manufacturing
3D
3D printing
Instructions to use lamm-mit/SD2x-leaf-inspired with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lamm-mit/SD2x-leaf-inspired with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lamm-mit/SD2x-leaf-inspired", dtype=torch.bfloat16, device_map="cuda") prompt = "<leaf microstructure>" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -109,7 +109,7 @@ grid
|
|
| 109 |
|
| 110 |
## Fine-tuning script
|
| 111 |
|
| 112 |
-
Download this script: [SD2x DreamBooth-Fine-Tune.ipynb](https://huggingface.co/lamm-mit/
|
| 113 |
|
| 114 |
You need to create a local folder ```leaf_concept_dir``` and add the leaf images (provided in this repository, see subfolder), like so:
|
| 115 |
|
|
@@ -164,5 +164,4 @@ grid
|
|
| 164 |

|
| 165 |
|
| 166 |
|
| 167 |
-
|
| 168 |

|
|
|
|
| 109 |
|
| 110 |
## Fine-tuning script
|
| 111 |
|
| 112 |
+
Download this script: [SD2x DreamBooth-Fine-Tune.ipynb](https://huggingface.co/lamm-mit/SD2x-leaf-inspired/resolve/main/SD2x_DreamBooth_Fine-Tune.ipynb)
|
| 113 |
|
| 114 |
You need to create a local folder ```leaf_concept_dir``` and add the leaf images (provided in this repository, see subfolder), like so:
|
| 115 |
|
|
|
|
| 164 |

|
| 165 |
|
| 166 |
|
|
|
|
| 167 |

|