Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: creativeml-openrail-m
|
3 |
+
tags:
|
4 |
+
- pytorch
|
5 |
+
- diffusers
|
6 |
+
- stable-diffusion
|
7 |
+
- text-to-image
|
8 |
+
- diffusion-models-class
|
9 |
+
- dreambooth-hackathon
|
10 |
+
- landscape
|
11 |
+
- classical-art
|
12 |
+
widget:
|
13 |
+
- text: a painting in $M## style of a fishing village under a cherry blossom forest at sunset
|
14 |
+
---
|
15 |
+
|
16 |
+
# DreamBooth model for the painting of mixed style between Claude-Monet and Hokusai
|
17 |
+
|
18 |
+
This is a Stable Diffusion model fine-tuned to generate mixed styled paintings between Claude-Monet and Hokusai taught to Stable Diffusion with DreamBooth.
|
19 |
+
It can be used by modifying the `instance_prompt`: **a painting in $M## style of**
|
20 |
+
|
21 |
+
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!
|
22 |
+
|
23 |
+
## Description
|
24 |
+
|
25 |
+
This is a Stable Diffusion model fine-tuned on paintings of both Claude-Monet and Hokusai.
|
26 |
+
|
27 |
+
## Examples
|
28 |
+
|
29 |
+
Since it's more for landscape painting, the image size matters. I found that 512*1024 normally gave interesting results.
|
30 |
+
Check out this gallery for more generated images:
|
31 |
+
https://www.vuhongai.com/classicalart-ai
|
32 |
+
|
33 |
+
## Usage
|
34 |
+
```python
|
35 |
+
from diffusers import StableDiffusionPipeline
|
36 |
+
pipeline = StableDiffusionPipeline.from_pretrained('avuhong/DB_Hokusai_Monet_style')
|
37 |
+
prompt = "a painting in $M## style of a fishing village under a cherry blossom forest at sunset"
|
38 |
+
image = pipe(prompt,
|
39 |
+
num_inference_steps=200,
|
40 |
+
guidance_scale=5,
|
41 |
+
height=512, width=1024,
|
42 |
+
).images[0]
|
43 |
+
image
|
44 |
+
```
|