File size: 1,686 Bytes
a7dd9aa 987ddbf a7dd9aa 7d396e5 a7dd9aa 5ec74a9 a7dd9aa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
---
license: creativeml-openrail-m
tags:
- pytorch
- diffusers
- stable-diffusion
- text-to-image
- diffusion-models-class
- dreambooth-hackathon
- landscape
- classical-art
widget:
- text: a painting in $M## style of a fishing village under a cherry blossom forest at sunset
---
# DreamBooth model for the painting of Hokusai style
This is a Stable Diffusion model fine-tuned Hokusai's painting style taught to Stable Diffusion with DreamBooth.
It can be used by modifying the `instance_prompt`: **a painting in $M## style of**
This model was created as part of the DreamBooth Hackathon 🔥. Visit the [organisation page](https://huggingface.co/dreambooth-hackathon) for instructions on how to take part!
## Description
This is a Stable Diffusion model fine-tuned on Hokusai's paintings, a Japanese artist from the Edo period (1760-1849). The AI model used to create these works was primarily trained on Hokusai's most famous series of woodblock prints, called the Thirty-Six Views of Mount Fuji including the iconic The Great Wave off Kanagawa.
## Examples
Since it's more for landscape painting, the image size matters. I found that 512*1024 normally gave interesting results.
Check out this gallery for more generated images:
https://www.vuhongai.com/classicalart-ai
## Usage
```python
from diffusers import StableDiffusionPipeline
pipeline = StableDiffusionPipeline.from_pretrained('avuhong/DB_Hokusai_style')
prompt = "a painting in $M## style of a fishing village under a cherry blossom forest at sunset"
image = pipe(prompt,
num_inference_steps=200,
guidance_scale=5,
height=512, width=1024,
).images[0]
image
``` |