parquet-converter
commited on
Commit
•
f0701e9
1
Parent(s):
18c9ca0
Update parquet files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +0 -39
- a_Barack_Obama_smiling_with_a_big_grin.png +0 -3
- a_astronaut_on_mars.png +0 -3
- a_astronaut_riding_horse/hf_ddim.png +0 -3
- a_astronaut_riding_horse/hf_euler.png +0 -3
- a_astronaut_riding_horse/hf_euler_ancestral.png +0 -3
- a_astronaut_riding_horse/hf_lms.png +0 -3
- a_astronaut_riding_horse/hf_pndm.png +0 -3
- a_astronaut_riding_horse/hf_sample_dpm_2.png +0 -3
- a_astronaut_riding_horse/hf_sample_dpm_2_ancestral.png +0 -3
- a_astronaut_riding_horse/hf_sample_heun.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_ddim.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_dpm.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_euler.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_euler_ancestral.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_lms.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_pndm.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_sample_dpm_2.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_sample_dpm_2_ancestral.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/hf_sample_heun.png +0 -3
- a_astronaut_riding_horse_v2_base_sd/sample_dpm_2_ancestral.png +0 -3
- aa.png +0 -3
- astronaut/a_a_s_t_r_o_n_a_u_t_ _r_i_d_i_n_g_ _h_o_r_s_e/hf_sample_dpm_2.png +0 -3
- astronaut/a_a_s_t_r_o_n_a_u_t_ _r_i_d_i_n_g_ _h_o_r_s_e/hf_sample_heun.png +0 -3
- astronaut/a_a_s_t_r_o_n_a_u_t_ _r_i_d_i_n_g_ _h_o_r_s_e/sample_dpm_2.png +0 -3
- astronaut/a_a_s_t_r_o_n_a_u_t_ _r_i_d_i_n_g_ _h_o_r_s_e/sample_heun.png +0 -3
- astronaut/sample_dpm_2.png +0 -3
- astronaut/sample_dpm_2_ancestral.png +0 -3
- astronaut/sample_dpmpp_2m.png +0 -3
- astronaut/sample_dpmpp_2s_ancestral.png +0 -3
- astronaut/sample_dpmpp_sde.png +0 -3
- cat-reconstructed.tiff +0 -3
- cat-reconstructed_old.tiff +0 -3
- cat.jpg +0 -3
- clip_guidance/merged_clip_guidance.jpg +0 -3
- comp.png +0 -3
- diffusers/6_1_a_photograph_of_an_astronaut_riding_a_horse_1660654823.png +0 -3
- diffusers/6_1_a_photograph_of_an_astronaut_riding_a_horse_1660655018.png +0 -3
- diffusers/an_oil_painting_of_a_futuristic_forest_gives_1660559297.png +0 -3
- diffusers/batch_1664483911.png +0 -3
- diffusers/batch_1664484078.png +0 -3
- diffusers/batch_1664488610.png +0 -3
- diffusers_docs/astronaut_ddim.png +0 -3
- diffusers_docs/astronaut_dpm.png +0 -3
- diffusers_docs/astronaut_euler_ancestral.png +0 -3
- diffusers_docs/astronaut_euler_discrete.png +0 -3
- diffusers_docs/astronaut_lms.png +0 -3
- diffusers_docs/astronaut_pndm.png +0 -3
- diffusers_reference/reference_image_sd_v1_3.png +0 -3
- diffusers_reference/run.py +0 -39
.gitattributes
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
19 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
# Audio files - uncompressed
|
29 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
32 |
-
# Audio files - compressed
|
33 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
36 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
37 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
38 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a_Barack_Obama_smiling_with_a_big_grin.png
DELETED
Git LFS Details
|
a_astronaut_on_mars.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse/hf_ddim.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse/hf_euler.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse/hf_euler_ancestral.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse/hf_lms.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse/hf_pndm.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse/hf_sample_dpm_2.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse/hf_sample_dpm_2_ancestral.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse/hf_sample_heun.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_ddim.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_dpm.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_euler.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_euler_ancestral.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_lms.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_pndm.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_sample_dpm_2.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_sample_dpm_2_ancestral.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/hf_sample_heun.png
DELETED
Git LFS Details
|
a_astronaut_riding_horse_v2_base_sd/sample_dpm_2_ancestral.png
DELETED
Git LFS Details
|
aa.png
DELETED
Git LFS Details
|
astronaut/a_a_s_t_r_o_n_a_u_t_ _r_i_d_i_n_g_ _h_o_r_s_e/hf_sample_dpm_2.png
DELETED
Git LFS Details
|
astronaut/a_a_s_t_r_o_n_a_u_t_ _r_i_d_i_n_g_ _h_o_r_s_e/hf_sample_heun.png
DELETED
Git LFS Details
|
astronaut/a_a_s_t_r_o_n_a_u_t_ _r_i_d_i_n_g_ _h_o_r_s_e/sample_dpm_2.png
DELETED
Git LFS Details
|
astronaut/a_a_s_t_r_o_n_a_u_t_ _r_i_d_i_n_g_ _h_o_r_s_e/sample_heun.png
DELETED
Git LFS Details
|
astronaut/sample_dpm_2.png
DELETED
Git LFS Details
|
astronaut/sample_dpm_2_ancestral.png
DELETED
Git LFS Details
|
astronaut/sample_dpmpp_2m.png
DELETED
Git LFS Details
|
astronaut/sample_dpmpp_2s_ancestral.png
DELETED
Git LFS Details
|
astronaut/sample_dpmpp_sde.png
DELETED
Git LFS Details
|
cat-reconstructed.tiff
DELETED
Git LFS Details
|
cat-reconstructed_old.tiff
DELETED
Git LFS Details
|
cat.jpg
DELETED
Git LFS Details
|
clip_guidance/merged_clip_guidance.jpg
DELETED
Git LFS Details
|
comp.png
DELETED
Git LFS Details
|
diffusers/6_1_a_photograph_of_an_astronaut_riding_a_horse_1660654823.png
DELETED
Git LFS Details
|
diffusers/6_1_a_photograph_of_an_astronaut_riding_a_horse_1660655018.png
DELETED
Git LFS Details
|
diffusers/an_oil_painting_of_a_futuristic_forest_gives_1660559297.png
DELETED
Git LFS Details
|
diffusers/batch_1664483911.png
DELETED
Git LFS Details
|
diffusers/batch_1664484078.png
DELETED
Git LFS Details
|
diffusers/batch_1664488610.png
DELETED
Git LFS Details
|
diffusers_docs/astronaut_ddim.png
DELETED
Git LFS Details
|
diffusers_docs/astronaut_dpm.png
DELETED
Git LFS Details
|
diffusers_docs/astronaut_euler_ancestral.png
DELETED
Git LFS Details
|
diffusers_docs/astronaut_euler_discrete.png
DELETED
Git LFS Details
|
diffusers_docs/astronaut_lms.png
DELETED
Git LFS Details
|
diffusers_docs/astronaut_pndm.png
DELETED
Git LFS Details
|
diffusers_reference/reference_image_sd_v1_3.png
DELETED
Git LFS Details
|
diffusers_reference/run.py
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
#!/usr/bin/env python3
|
2 |
-
#!/usr/bin/env python3
|
3 |
-
from diffusers import StableDiffusionPipeline, DDIMScheduler
|
4 |
-
from time import time
|
5 |
-
from PIL import Image
|
6 |
-
from einops import rearrange
|
7 |
-
import numpy as np
|
8 |
-
import torch
|
9 |
-
from torch import autocast
|
10 |
-
from torchvision.utils import make_grid
|
11 |
-
|
12 |
-
torch.manual_seed(42)
|
13 |
-
|
14 |
-
prompts = ["a photograph of an astronaut riding a horse"]
|
15 |
-
|
16 |
-
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-3", revision="fp16", torch_dtype=torch.float16, use_auth_token=True) # make sure you're logged in with `huggingface-cli login`
|
17 |
-
#scheduler = DDIMScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", clip_sample=False, set_alpha_to_one=False)
|
18 |
-
#pipe.scheduler = scheduler
|
19 |
-
pipe.to("cuda")
|
20 |
-
|
21 |
-
all_images = []
|
22 |
-
num_rows = 1
|
23 |
-
num_columns = 4
|
24 |
-
for prompt in prompts:
|
25 |
-
with autocast("cuda"):
|
26 |
-
images = pipe(num_columns * [prompt], guidance_scale=7.5, output_type="np")["sample"] # image here is in [PIL format](https://pillow.readthedocs.io/en/stable/)
|
27 |
-
all_images.append(torch.from_numpy(images))
|
28 |
-
|
29 |
-
# additionally, save as grid
|
30 |
-
grid = torch.stack(all_images, 0)
|
31 |
-
grid = rearrange(grid, 'n b h w c -> (n b) h w c')
|
32 |
-
grid = rearrange(grid, 'n h w c -> n c h w')
|
33 |
-
grid = make_grid(grid, nrow=num_rows)
|
34 |
-
|
35 |
-
# to image
|
36 |
-
grid = 255. * rearrange(grid, 'c h w -> h w c').cpu().numpy()
|
37 |
-
image = Image.fromarray(grid.astype(np.uint8))
|
38 |
-
|
39 |
-
image.save(f"../images/diffusers/batch_{round(time())}.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|