Instructions to use omkar1799/script-sd-city-scape-prints-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use omkar1799/script-sd-city-scape-prints-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("omkar1799/script-sd-city-scape-prints-model", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("omkar1799/script-sd-city-scape-prints-model", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Text-to-image finetuning - omkar1799/script-sd-city-scape-prints-model
This pipeline was finetuned from runwayml/stable-diffusion-v1-5 on the omkar1799/city-scape-prints-dataset dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['An embroidered, hand-stitched pillow design featuring Atlanta, showcasing landmarks like Coca Cola, Mercedes Benz Stadium, Civil Rights Museum, SunTrust Park, and Stone Mountain. Includes symbols like a panda, airplanes, KFC, trees, and the ferris wheel. The style is playful, colorful, and folk-art inspired with text labels for each location and decorative elements throughout.', 'An embroidered, hand-stitched pillow design featuring Lisbon, showcasing landmarks like Belém Tower, Jerónimos Monastery, São Jorge Castle, and the 25 de Abril Bridge. Includes symbols like trams, pastel de nata, sardines, tiles, and guitars. The style is playful, colorful, and folk-art inspired with text labels for each location and decorative elements throughout.']:
Pipeline usage
You can use the pipeline like so:
from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained("omkar1799/script-sd-city-scape-prints-model", torch_dtype=torch.float16)
prompt = "An embroidered, hand-stitched pillow design featuring Atlanta, showcasing landmarks like Coca Cola, Mercedes Benz Stadium, Civil Rights Museum, SunTrust Park, and Stone Mountain. Includes symbols like a panda, airplanes, KFC, trees, and the ferris wheel. The style is playful, colorful, and folk-art inspired with text labels for each location and decorative elements throughout."
image = pipeline(prompt).images[0]
image.save("my_image.png")
Training info
These are the key hyperparameters used during training:
- Epochs: 12
- Learning rate: 5e-06
- Batch size: 4
- Gradient accumulation steps: 2
- Image resolution: 512
- Mixed-precision: fp16
Intended uses & limitations
How to use
# TODO: add an example code snippet for running this diffusion pipeline
Limitations and bias
[TODO: provide examples of latent issues and potential remediations]
Training details
[TODO: describe the data used to train the model]
- Downloads last month
- -
Model tree for omkar1799/script-sd-city-scape-prints-model
Base model
runwayml/stable-diffusion-v1-5