DB_Hokusai_style / README.md
avuhong's picture
Update README.md
987ddbf
|
raw
history blame
1.2 kB
metadata
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 for instructions on how to take part!

Description

This is a Stable Diffusion model fine-tuned on Hokusai's paintings.

Usage

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