File size: 1,183 Bytes
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
---
license: creativeml-openrail-m
tags:
- pytorch
- diffusers
- stable-diffusion
- text-to-image
- diffusion-models-class
- dreambooth-hackathon
- animal
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.

## 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
```