Text-to-Image
Diffusers
TensorBoard
Safetensors
stable-diffusion
stable-diffusion-diffusers
diffusers-training
lora
Instructions to use ACROSS-Lab/PromptTo3D_sd_finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ACROSS-Lab/PromptTo3D_sd_finetuned with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ACROSS-Lab/PromptTo3D_sd_finetuned") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ from diffusers import StableDiffusionPipeline
|
|
| 38 |
pipe = StableDiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", torch_dtype=torch.float16)
|
| 39 |
|
| 40 |
# Then add the lora weights to the model stable diffusion 2
|
| 41 |
-
pipe.unet.load_attn_procs('
|
| 42 |
pipe.to("cuda")
|
| 43 |
|
| 44 |
# Then you can begin the inference process on a prompt and save the image generated
|
|
@@ -63,4 +63,4 @@ dataset = load_dataset("remi349/finetuning_dataset_for_3D_training", split = 'tr
|
|
| 63 |
This dataset is a subset of the dataset [Objaverse](https://objaverse.allenai.org/).
|
| 64 |
|
| 65 |
## Collaboration
|
| 66 |
-
This model and dataset has been made in collaboration
|
|
|
|
| 38 |
pipe = StableDiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", torch_dtype=torch.float16)
|
| 39 |
|
| 40 |
# Then add the lora weights to the model stable diffusion 2
|
| 41 |
+
pipe.unet.load_attn_procs('ACROSS-Lab/sd_finetuned')
|
| 42 |
pipe.to("cuda")
|
| 43 |
|
| 44 |
# Then you can begin the inference process on a prompt and save the image generated
|
|
|
|
| 63 |
This dataset is a subset of the dataset [Objaverse](https://objaverse.allenai.org/).
|
| 64 |
|
| 65 |
## Collaboration
|
| 66 |
+
This model and dataset has been made in collaboration by [Josué ADOSSEHOUN](https://huggingface.co/josh007) and [Rémi DUCOTTET](https://huggingface.co/remi349)
|