diff --git a/examples/VGG16/vgg16.pdf b/examples/VGG16/vgg16.pdf index eb182af..f25607f 100644 Binary files a/examples/VGG16/vgg16.pdf and b/examples/VGG16/vgg16.pdf differ diff --git a/examples/VGG16/vgg16.tex b/examples/VGG16/vgg16.tex index 349e4b5..56012f7 100644 --- a/examples/VGG16/vgg16.tex +++ b/examples/VGG16/vgg16.tex @@ -27,7 +27,7 @@ %%%%%%%%%% % conv2_1,conv2_2 \pic[shift={(2,0,0)}] at (p1-east) {RightBandedBox={name=cr2,caption=conv2,% - xlabel={{"64","64"}},zlabel=112,fill=\ConvColor,bandfill=\ConvReluColor,% + xlabel={{"128","128"}},zlabel=112,fill=\ConvColor,bandfill=\ConvReluColor,% height=35,width={3,3},depth=35}}; %pool2 \pic[shift={(0,0,0)}] at (cr2-east) {Box={name=p2,% diff --git a/layers/Box.sty b/layers/Box.sty index 1d33b10..38818a8 100644 --- a/layers/Box.sty +++ b/layers/Box.sty @@ -10,7 +10,7 @@ \pgfmathsetmacro{\y}{\cubey*\scale} \pgfmathsetmacro{\z}{\cubez*\scale} - %Multiple concatenated boxes + %Multiple concatenated boxes \foreach[count=\i,% evaluate=\i as \xlabel using {array({\boxlabels},\i-1)},% evaluate=\unscaledx as \k using {\unscaledx*\scale+\prev}, remember=\k as \prev (initially 0)] @@ -25,7 +25,7 @@ \coordinate (f) at (\k ,-\y/2 ,-\z/2); \coordinate (g) at (\k-\x ,-\y/2 ,-\z/2); \coordinate (h) at (\k-\x , \y/2 ,-\z/2); - + \draw [box] (d) -- (a) -- (b) -- (c) -- cycle (d) -- (a) -- (h) -- (e) -- cycle @@ -33,7 +33,7 @@ (f) edge (g) (b) edge (g) (h) edge (g) - ; + ; \path (b) edge ["\xlabel"',midway] (c); \xdef\LastEastx{\k} %\k persists as \LastEastx after loop @@ -45,7 +45,7 @@ \tikzstyle{depthlabel}=[pos=0,text width=14*\z,text centered,sloped] \path (c) edge ["\small\zlabel"',depthlabel](f); %depth label - \path (b1) edge ["\ylabel",midway] (a1); %height label + \path (b1) edge ["\ylabel",midway] (a1); %height label \tikzstyle{captionlabel}=[text width=15*\LastEastx/\scale,text centered]