Add example image

This commit is contained in:
Gadersd
2023-08-05 19:06:34 -04:00
parent 058dd1d7cc
commit 57b446c08d
2 changed files with 4 additions and 2 deletions

View File

@@ -23,10 +23,12 @@ Invoke the sample binary provided in the rust code, as shown below:
```bash ```bash
# Arguments: <model_type(burn or dump)> <model> <unconditional_guidance_scale> <n_diffusion_steps> <prompt> <output_image> # Arguments: <model_type(burn or dump)> <model> <unconditional_guidance_scale> <n_diffusion_steps> <prompt> <output_image>
cargo run --release --bin sample burn SDv1-4 7.5 20 "A half-eaten apple sitting on a desk." apple cargo run --release --bin sample burn SDv1-4 7.5 20 "An ancient mossy stone." img
``` ```
This command will generate an image according to the provided prompt, which will be saved as 'apple.png'. This command will generate an image according to the provided prompt, which will be saved as 'img0.png'.
![An image of an ancient mossy stone](img0.png)
### Optional: Extract and Convert a Fine-Tuned Model ### Optional: Extract and Convert a Fine-Tuned Model

BIN
img0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 KiB