You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: project-5/index.html
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ <h3>Images generated with num_inference_steps=20</h3>
100
100
</div>
101
101
</div>
102
102
103
-
Using stage 2, we can take the output of stage 1 and upscale them to 256x256 resolution:
103
+
Using stage 2, we can take the output of stage 1 and upscale it to 256x256 resolution:
104
104
105
105
<divclass="subsection" id="part-0-images">
106
106
<divclass="image-row">
@@ -119,7 +119,7 @@ <h3>Images generated with num_inference_steps=20</h3>
119
119
</div>
120
120
</div>
121
121
122
-
By increasing the inference steps, we can generate higher quality images at cost of more compute time. Below are the stage 2 outputs with the number of inference steps at 100:
122
+
By increasing the inference steps, we can generate higher quality images at the cost of more compute time. Below are the stage 2 outputs with the number of inference steps at 100:
123
123
124
124
<divclass="subsection" id="part-0-images">
125
125
<h3>Images generated with num_inference_steps=100</h3>
Instead of using one step, we can obtain better results by iterativly denoising from step <code>t</code> until step 0. However, this means running the diffusion model 1000 times in the worst case, which is slow and costly. Fortunately, we can speed up the computation by first defining series of strided timestamps, starting at close to 1000 and ending at 0. For the examples below, we will use <code>strided_timestamps = [990, 960, ..., 30, 0]</code>. Then, we can use the formula
301
+
Instead of using one step, we can obtain better results by iteratively denoising from step <code>t</code> until step 0. However, this means running the diffusion model 1000 times in the worst case, which is slow and costly. Fortunately, we can speed up the computation by first defining a series of strided timestamps, starting at close to 1000 and ending at 0. For the examples below, we will use <code>strided_timestamps = [990, 960, ..., 30, 0]</code>. Then, we can use the formula
Once <code>image</code> is replaced by <code>masked_image</code>, we replace all further occurences of <code>image</code> except for the last instance, as the image at each step still needs to be updated. Finally, we let our starting noise be purely random and start with an timestamp index of 0, so that the patch we want to change can be sufficiently denoised. Below are the reuslts on the Campanile image:
686
+
Once <code>image</code> is replaced by <code>masked_image</code>, we replace all further occurrences of <code>image</code> except for the last instance, as the image at each step still needs to be updated. Finally, we let our starting noise be purely random and start with a timestamp index of 0, so that the patch we want to change can be sufficiently denoised. Below are the results on the Campanile image:
0 commit comments