RiddleHe commited on
Commit
ed30d34
·
verified ·
1 Parent(s): 81b458f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -3
README.md CHANGED
@@ -13,7 +13,15 @@ It is the fusion of Stable Diffusion 1.4 and a LORA fine-tuned on 28218 patholog
13
 
14
  ### Model Description
15
 
16
- <!-- Provide a longer summary of what this model is. -->
17
 
18
- - **Developed by:** [Muyu He]
19
- - **Finetuned from model [optional]:** [CompVis/stable-diffusion-v1-4]
 
 
 
 
 
 
 
 
 
13
 
14
  ### Model Description
15
 
16
+ The model is trained on Stable Diffusion 1.4 with a UNet architecture and a pretrained VAE. It uses a batch size of 16 and lora rank of 32.
17
 
18
+ ### How to use
19
+
20
+ ```python
21
+ pipe = DiffusionPipeline.from_pretrained(
22
+ "RiddleHe/SD14_pathology_base", torch_dtype=torch.float16
23
+ )
24
+ pipe.to('cuda')
25
+
26
+ prompt = "A histopathology image of breast cancer tissue"
27
+ ```