-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathfigure8-1-general-generative-diff-gan.tex
More file actions
55 lines (42 loc) · 2.38 KB
/
figure8-1-general-generative-diff-gan.tex
File metadata and controls
55 lines (42 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
\documentclass[border=1cm]{standalone}
\usepackage{tikz}
\usepackage{medl_colors}
\usetikzlibrary{shapes.geometric, shapes.misc, matrix}
\usetikzlibrary{cd, fit, calc}
\usetikzlibrary{positioning, shadows}
\graphicspath{ {./images/} }
\begin{document}
\begin{tikzpicture}
\pgfmathsetseed{3}
{\large \matrix (m) [matrix of math nodes, nodes in empty cells, left delimiter=[, right delimiter={]}, row sep=0.3cm, column sep=0.3cm, minimum width=0.4cm, minimum height=0.4cm, scale=0.7] at (3.5, 0) {
-2.084\\
0.412\\
-0.84\\
0.232\\
-0.424\\
0.173\\
0.259\\
0.985\\
-1.808\\
0.112 \\
};
}
\node[below of= m, node distance=2.4cm, align=center, yshift=-3cm] {\Huge $z$};
\node[scale=.58] (picd) at (15,-10.5) {\includegraphics{images/collage.png}};
\node[below right of= picd, node distance=2.4cm, align=center, yshift=-4.2cm, xshift=4.2cm] {\Huge $\mathcal{D}$};
\node[scale=.5, draw, uthickline](picz) at (3.5, -21) {\includegraphics{images/noisy_image_10.jpg}};
\node[below of= picz, node distance=2.4cm, align=center] {\Huge $z$};
\node[blueshape, rounded corners, minimum width=10cm, minimum height=2cm, align=center] (rect1) at (15,0) {\Large GAN Generator \\\,\\ \Large has learned to \textbf{sample} from $p(x | z)$};
\node[draw, right of= rect1, node distance=11cm, align=center, scale=0.27] (picx1) {\includegraphics {images/18.png}};
\node[below of= picx1, node distance=2.4cm, align=center] {\Huge $x$};
\node[blueshape, rounded corners, minimum width=10cm, minimum height=2cm, align=center] (rect2) at (15,-21) {\Large Diffusion Decoder \\\,\\ \Large has \textbf{learned} $p(x | z)$};
\node[draw, right of= rect2, node distance=11cm, align=center, scale=0.2] (picx2) {\includegraphics {images/thalli1}};
\node[below of= picx2, node distance=2.4cm, align=center] {\Huge $x$};
\draw[-Triangle, uthickline] ([xshift=3mm]rect1.east) -- (picx1){};
\draw[Triangle-, uthickline] ([xshift=-3mm]rect1.west) -- ++(-4, 0){};
\draw[Triangle-, uthickline] ([yshift=-3mm]rect1.south) -- (picd.north){};
\draw[-Triangle, uthickline] ([xshift=3mm]rect2.east) -- (picx2){};
\draw[Triangle-, uthickline] ([xshift=-3mm]rect2.west) -- ++(-4, 0){};
\draw[Triangle-, uthickline] ([yshift=3mm]rect2.north) -- (picd.south){};
\end{tikzpicture}
\end{document}