update prompt
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- gen_compare/.gitattributes +2 -0
- gen_compare/README.md +5 -3
- gen_compare/gen_diffusers_image.py +2 -2
- gen_compare/gen_reference_image.py +2 -2
- gen_compare/output_images/diffusers/output_bird_canny_0.png +3 -0
- gen_compare/output_images/diffusers/output_bird_canny_1.png +3 -0
- gen_compare/output_images/diffusers/output_bird_canny_2.png +3 -0
- gen_compare/output_images/diffusers/output_bird_canny_3.png +3 -0
- gen_compare/output_images/diffusers/output_bird_depth_0.png +3 -0
- gen_compare/output_images/diffusers/output_bird_depth_1.png +3 -0
- gen_compare/output_images/diffusers/output_bird_depth_2.png +3 -0
- gen_compare/output_images/diffusers/output_bird_depth_3.png +3 -0
- gen_compare/output_images/diffusers/output_bird_hed_0.png +3 -0
- gen_compare/output_images/diffusers/output_bird_hed_1.png +3 -0
- gen_compare/output_images/diffusers/output_bird_hed_2.png +3 -0
- gen_compare/output_images/diffusers/output_bird_hed_3.png +3 -0
- gen_compare/output_images/diffusers/output_bird_mlsd_0.png +3 -0
- gen_compare/output_images/diffusers/output_bird_mlsd_1.png +3 -0
- gen_compare/output_images/diffusers/output_bird_mlsd_2.png +3 -0
- gen_compare/output_images/diffusers/output_bird_mlsd_3.png +3 -0
- gen_compare/output_images/diffusers/output_bird_normal_0.png +3 -0
- gen_compare/output_images/diffusers/output_bird_normal_1.png +3 -0
- gen_compare/output_images/diffusers/output_bird_normal_2.png +3 -0
- gen_compare/output_images/diffusers/output_bird_normal_3.png +3 -0
- gen_compare/output_images/diffusers/output_bird_openpose_0.png +3 -0
- gen_compare/output_images/diffusers/output_bird_openpose_1.png +3 -0
- gen_compare/output_images/diffusers/output_bird_openpose_2.png +3 -0
- gen_compare/output_images/diffusers/output_bird_openpose_3.png +3 -0
- gen_compare/output_images/diffusers/output_bird_scribble_0.png +3 -0
- gen_compare/output_images/diffusers/output_bird_scribble_1.png +3 -0
- gen_compare/output_images/diffusers/output_bird_scribble_2.png +3 -0
- gen_compare/output_images/diffusers/output_bird_scribble_3.png +3 -0
- gen_compare/output_images/diffusers/output_bird_seg_0.png +3 -0
- gen_compare/output_images/diffusers/output_bird_seg_1.png +3 -0
- gen_compare/output_images/diffusers/output_bird_seg_2.png +3 -0
- gen_compare/output_images/diffusers/output_bird_seg_3.png +3 -0
- gen_compare/output_images/diffusers/output_human_canny_0.png +3 -0
- gen_compare/output_images/diffusers/output_human_canny_1.png +3 -0
- gen_compare/output_images/diffusers/output_human_canny_2.png +3 -0
- gen_compare/output_images/diffusers/output_human_canny_3.png +3 -0
- gen_compare/output_images/diffusers/output_human_depth_0.png +3 -0
- gen_compare/output_images/diffusers/output_human_depth_1.png +3 -0
- gen_compare/output_images/diffusers/output_human_depth_2.png +3 -0
- gen_compare/output_images/diffusers/output_human_depth_3.png +3 -0
- gen_compare/output_images/diffusers/output_human_hed_0.png +3 -0
- gen_compare/output_images/diffusers/output_human_hed_1.png +3 -0
- gen_compare/output_images/diffusers/output_human_hed_2.png +3 -0
- gen_compare/output_images/diffusers/output_human_hed_3.png +3 -0
- gen_compare/output_images/diffusers/output_human_mlsd_0.png +3 -0
- gen_compare/output_images/diffusers/output_human_mlsd_1.png +3 -0
gen_compare/.gitattributes
CHANGED
@@ -10,3 +10,5 @@ control_images/bird_512x512.png filter=lfs diff=lfs merge=lfs -text
|
|
10 |
control_images/human_512x512.png filter=lfs diff=lfs merge=lfs -text
|
11 |
control_images/room_512x512.png filter=lfs diff=lfs merge=lfs -text
|
12 |
control_images/vermeer_512x512.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
10 |
control_images/human_512x512.png filter=lfs diff=lfs merge=lfs -text
|
11 |
control_images/room_512x512.png filter=lfs diff=lfs merge=lfs -text
|
12 |
control_images/vermeer_512x512.png filter=lfs diff=lfs merge=lfs -text
|
13 |
+
output_images/diffusers/*.png filter=lfs diff=lfs merge=lfs -text
|
14 |
+
output_images/ref/*.png filter=lfs diff=lfs merge=lfs -text
|
gen_compare/README.md
CHANGED
@@ -6,7 +6,9 @@
|
|
6 |
|
7 |
## Environment
|
8 |
- OS: Ubuntu 22.04
|
9 |
-
- GPU: Nvidia RTX3060
|
|
|
|
|
10 |
|
11 |
## Scripts to generate plots:
|
12 |
- Create control image: [create_control_images.py](create_control_images.py)
|
@@ -30,8 +32,8 @@ Converted above original images by [controlnet_hinter](https://github.com/takuma
|
|
30 |
#### Prompts:
|
31 |
All images were generated with the same prompt.
|
32 |
|
33 |
-
- Prompt: `best quality, extremely detailed
|
34 |
-
- Negative Prompt: `
|
35 |
|
36 |
#### Ohter setting (both common):
|
37 |
- sampler: DDIM
|
|
|
6 |
|
7 |
## Environment
|
8 |
- OS: Ubuntu 22.04
|
9 |
+
- GPU: Nvidia RTX3060
|
10 |
+
- Cuda: 11.7
|
11 |
+
- Pytorch: 1.13.1
|
12 |
|
13 |
## Scripts to generate plots:
|
14 |
- Create control image: [create_control_images.py](create_control_images.py)
|
|
|
32 |
#### Prompts:
|
33 |
All images were generated with the same prompt.
|
34 |
|
35 |
+
- Prompt: `best quality, extremely detailed`
|
36 |
+
- Negative Prompt: `lowres, bad anatomy, worst quality, low quality`
|
37 |
|
38 |
#### Ohter setting (both common):
|
39 |
- sampler: DDIM
|
gen_compare/gen_diffusers_image.py
CHANGED
@@ -10,8 +10,8 @@ from diffusers import StableDiffusionControlNetPipeline
|
|
10 |
|
11 |
from PIL import Image
|
12 |
|
13 |
-
test_prompt = "best quality, extremely detailed
|
14 |
-
test_negative_prompt = "
|
15 |
|
16 |
def generate_image(seed, control):
|
17 |
latent = torch.randn((1,4,64,64), device="cpu", generator=torch.Generator(device="cpu").manual_seed(seed)).cuda()
|
|
|
10 |
|
11 |
from PIL import Image
|
12 |
|
13 |
+
test_prompt = "best quality, extremely detailed"
|
14 |
+
test_negative_prompt = "lowres, bad anatomy, worst quality, low quality"
|
15 |
|
16 |
def generate_image(seed, control):
|
17 |
latent = torch.randn((1,4,64,64), device="cpu", generator=torch.Generator(device="cpu").manual_seed(seed)).cuda()
|
gen_compare/gen_reference_image.py
CHANGED
@@ -13,8 +13,8 @@ from cldm.model import create_model, load_state_dict
|
|
13 |
from ldm.models.diffusion.ddim import DDIMSampler
|
14 |
from diffusers.utils import load_image
|
15 |
|
16 |
-
test_prompt = "best quality, extremely detailed
|
17 |
-
test_negative_prompt = "
|
18 |
|
19 |
@torch.no_grad()
|
20 |
def generate(prompt, n_prompt, seed, control, ddim_steps=20, eta=0.0, scale=9.0, H=512, W=512):
|
|
|
13 |
from ldm.models.diffusion.ddim import DDIMSampler
|
14 |
from diffusers.utils import load_image
|
15 |
|
16 |
+
test_prompt = "best quality, extremely detailed"
|
17 |
+
test_negative_prompt = "lowres, bad anatomy, worst quality, low quality"
|
18 |
|
19 |
@torch.no_grad()
|
20 |
def generate(prompt, n_prompt, seed, control, ddim_steps=20, eta=0.0, scale=9.0, H=512, W=512):
|
gen_compare/output_images/diffusers/output_bird_canny_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_canny_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_canny_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_canny_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_depth_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_depth_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_depth_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_depth_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_hed_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_hed_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_hed_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_hed_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_mlsd_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_mlsd_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_mlsd_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_mlsd_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_normal_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_normal_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_normal_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_normal_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_openpose_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_openpose_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_openpose_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_openpose_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_scribble_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_scribble_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_scribble_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_scribble_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_seg_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_seg_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_seg_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_bird_seg_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_canny_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_canny_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_canny_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_canny_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_depth_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_depth_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_depth_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_depth_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_hed_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_hed_1.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_hed_2.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_hed_3.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_mlsd_0.png
ADDED
Git LFS Details
|
gen_compare/output_images/diffusers/output_human_mlsd_1.png
ADDED
Git LFS Details
|