Skip to content

Commit

Permalink
Merge pull request #6 from 63days/posterior
Browse files Browse the repository at this point in the history
minor updates on data
  • Loading branch information
charlieppark authored Nov 21, 2023
2 parents d1659cf + ef57da2 commit 17f4ae9
Show file tree
Hide file tree
Showing 233 changed files with 51 additions and 11,529 deletions.
16 changes: 8 additions & 8 deletions publications/posterior-distillation-sampling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -600,20 +600,20 @@ <h3 class="title is-3 publication-title">SVG Editing</h3>
<div class="column" style="align-items: center;">\
<p style="font-size: 20px; text-align: center; margin-bottom: 0px;">' + prompt + '</p>\
<div class="columns" style="align-items: center; padding: 0; margin:0;">\
<figure style="display: inline-block; justify-content: center; align-items: center; width: fit-content; padding: 1; margin:auto;">\
<img id="input" src="./static/data/svgs/input/' + i + '.svg" style="height:100%" alt="Input."/>\
<figure>\
<img id="input" src="./static/data/svgs/input/' + i + '.svg" style="width: auto" alt="Input."/>\
<figcaption>Input<br>&nbsp;</figcaption>\
</figure>\
<figure style="display: inline-block; justify-content: center; align-items: center; width: fit-content; padding: 1; margin:auto;">\
<img id="baseline_sds" src="./static/data/svgs/sds/' + i + '.svg" style="height:100%" alt="Baseline SDS image."/>\
<figure>\
<img id="baseline_sds" src="./static/data/svgs/sds/' + i + '.svg" style="width: auto" alt="Baseline SDS image."/>\
<figcaption>SDS<br>(Poole <i>et al.</i>)</figcaption>\
</figure>\
<figure style="display: inline-block; justify-content: center; align-items: center; width: fit-content; padding: 1; margin:auto;">\
<img id="baseline_dds" src="./static/data/svgs/dds/' + i + '.svg" style="height:100%" alt="Baseline DDS image."/>\
<figure>\
<img id="baseline_dds" src="./static/data/svgs/dds/' + i + '.svg" style="width: auto" alt="Baseline DDS image."/>\
<figcaption>DDS<br>(Hertz <i>et al.</i>)</figcaption>\
</figure>\
<figure style="display: inline-block; justify-content: center; align-items: center; width: fit-content; padding: 1; margin:auto;">\
<img id="pds" src="./static/data/svgs/pds/' + i + '.svg" style="height:100%" alt="PDS image."/>\
<figure>\
<img id="pds" src="./static/data/svgs/pds/' + i + '.svg" style="width: auto" alt="PDS image."/>\
<figcaption><b>PDS<br>(Ours)</b></figcaption>\
</figure>\
</div>\
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/11/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/12/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/13/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/14/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/15/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/17/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/19/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/21/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/30/dds.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified publications/posterior-distillation-sampling/static/data/9/dds.gif
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
from subprocess import call

for file in [
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/8_dds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/8_input.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/8_pds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/8_prompts.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/8_sds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/14_dds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/14_input.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/14_pds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/14_prompts.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/14_sds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/19_dds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/19_input.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/19_pds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/19_prompts.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/19_sds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/20_dds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/20_input.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/20_pds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/20_prompts.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/20_sds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/23_dds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/23_input.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/23_pds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/23_prompts.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/23_sds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/32_dds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/32_input.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/32_pds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/32_prompts.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/32_sds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/36_dds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/36_input.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/36_pds.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/36_prompts.svg',
'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/36_sds.svg'
]:
id, rem = file.split('/')[-1].split('_')
method, ext = rem.split('.')

call(['mv', file, f'/home/chanhopark/63days.github.io/publications/posterior-distillation-sampling/static/data/svgs/{method}/{id}.{ext}'])
Loading

0 comments on commit 17f4ae9

Please sign in to comment.