Skip to content

Commit

Permalink
fixed part a for clarity, style chnages in index and partb
Browse files Browse the repository at this point in the history
  • Loading branch information
rtabrizi committed Nov 15, 2024
1 parent b211f3c commit 8b89994
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
11 changes: 9 additions & 2 deletions hw/proj5/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,13 @@ <h2>Deliverables</h2>
}
</script>

<h3>Acknowledgements</h3>
<p>This project was a joint effort by <a href="https://dangeng.github.io/">Daniel Geng</a>, <a href="https://hangg7.com/">Hang Gao</a>, and <a href="https://ryantabrizi.com/">Ryan Tabrizi</a>, advised by <a href="https://liyueshen.engin.umich.edu/">Liyue Shen</a>, <a href="https://andrewowens.com/">Andrew Owens</a>, and <a href="https://people.eecs.berkeley.edu/~efros/">Alexei Efros</a>. </p>
<h3>Acknowledgements</h3>
<p>This project was a joint effort by <a
href="https://dangeng.github.io/">Daniel Geng</a>, <a
href="https://ryantabrizi.com/">Ryan Tabrizi</a>, and <a
href="https://hangg7.com/">Hang Gao</a>, advised by <a
href="https://liyueshen.engin.umich.edu/">Liyue Shen</a>, <a
href="https://andrewowens.com/">Andrew Owens</a>, and <a
href="https://people.eecs.berkeley.edu/~efros/">Alexei
Efros</a>. </p>
</html>
17 changes: 8 additions & 9 deletions hw/proj5/parta.html
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ <h3>1.6 Classifier-Free Guidance (CFG)</h3>
</div>

<h3>1.7 Image-to-image Translation</h3>
<b style="color: red;">Note: You should use CFG from this point forward.</b>
<p class="text">
In part 1.4, we take a real image, add noise to it, and then denoise.
This
Expand Down Expand Up @@ -1062,7 +1063,6 @@ <h3>1.7 Image-to-image Translation</h3>
original image</li>
</ul>
</p>
<b>Note: You should use CFG from this point forward.</b>

<div class="image-container">
<div>
Expand Down Expand Up @@ -1279,7 +1279,7 @@ <h3>1.7.2 Inpainting</h3>

<h3>1.7.3 Text-Conditional Image-to-image Translation</h3>

<p>Now, we will do the same thing as the previous section, but guide the
<p>Now, we will do the same thing as SDEdit, but guide the
projection with a text prompt. This is no longer pure
"projection to the natural image manifold" but also adds control using
language. This is simply a matter of changing the prompt from
Expand Down Expand Up @@ -1385,7 +1385,7 @@ <h3>1.8 Visual Anagrams</h3>

<b>Hints</b>
<ul>
<li>- You may have to run multiple times to get a really good result for
<li>You may have to run multiple times to get a really good result for
the same reasons as above.</li>
</ul>

Expand Down Expand Up @@ -1442,9 +1442,7 @@ <h3>1.9 Hybrid Images</h3>

<b>Hints</b>
<ul>
<li>use torchvision.transforms.functional.gaussian_blur. The
documentation can be found <a
href="https://pytorch.org/vision/0.16/generated/torchvision.transforms.functional.gaussian_blur.html">here</a>.</li>
<li>use <code>torchvision.transforms.functional.gaussian_blur</code> </li>
<li>You may have to run multiple times to get a really good result for the
same reasons as above</li>
</ul>
Expand Down Expand Up @@ -1493,11 +1491,12 @@ <h3>Using your own Prompts and Upsampling Generations</h3>
<h3>Acknowledgements</h3>
<p>This project was a joint effort by <a
href="https://dangeng.github.io/">Daniel Geng</a>, <a
href="https://hangg7.com/">Hang Gao</a>, and <a
href="https://ryantabrizi.com/">Ryan Tabrizi</a>, advised by <a
href="https://ryantabrizi.com/">Ryan Tabrizi</a>, and <a
href="https://hangg7.com/">Hang Gao</a>, advised by <a
href="https://liyueshen.engin.umich.edu/">Liyue Shen</a>, <a
href="https://andrewowens.com/">Andrew Owens</a>, and <a
href="https://people.eecs.berkeley.edu/~efros/">Alexei Efros</a>. </p>
href="https://people.eecs.berkeley.edu/~efros/">Alexei
Efros</a>. </p>
<grammarly-desktop-integration
data-grammarly-shadow-root="true"></grammarly-desktop-integration>
</html>
10 changes: 5 additions & 5 deletions hw/proj5/partb.html
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ <h2> 1.1 Implementing the UNet</h2>
<code>nn.ConvTranspose2d()</code></li>
<li><b><tt>AvgPool(kernel_size)</tt></b> is
<code>nn.AvgPool2d()</code></li>
<li><code>D</code> is the number of hidden channels and is a
hyperparameter that we will set ourselves.</li>
</ul>

At a high level, the blocks do the following:
Expand All @@ -379,9 +381,7 @@ <h2> 1.1 Implementing the UNet</h2>
unflattens/upsamples a 1x1 tensor into a 7x7 tensor.</li>
<li><b><tt>(6) Concat</tt></b> is a channel-wise concatenation between
tensors with the same 2D shape. This is simply
<code>torch.cat</code>.</li>
<li><code>D</code> is the number of hidden channels and is a
hyperparameter that we will set ourselves.</li>
<code>torch.cat()</code>.</li>
</ul>

<p class="text">
Expand Down Expand Up @@ -975,8 +975,8 @@ <h2> Bells & Whistles </h2>
<h3>Acknowledgements</h3>
<p>This project was a joint effort by <a
href="https://dangeng.github.io/">Daniel Geng</a>, <a
href="https://hangg7.com/">Hang Gao</a>, and <a
href="https://ryantabrizi.com/">Ryan Tabrizi</a>, advised by <a
href="https://ryantabrizi.com/">Ryan Tabrizi</a>, and <a
href="https://hangg7.com/">Hang Gao</a>, advised by <a
href="https://liyueshen.engin.umich.edu/">Liyue Shen</a>, <a
href="https://andrewowens.com/">Andrew Owens</a>, and <a
href="https://people.eecs.berkeley.edu/~efros/">Alexei
Expand Down

0 comments on commit 8b89994

Please sign in to comment.