From 928a5a2801ef4132f0c6b2493fb133fce276b316 Mon Sep 17 00:00:00 2001 From: joseareia Date: Tue, 11 Feb 2025 14:40:42 +0000 Subject: [PATCH 01/15] refactor: remove empty lines --- tikzmake.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tikzmake.sh b/tikzmake.sh index 560ca43f..935855f3 100644 --- a/tikzmake.sh +++ b/tikzmake.sh @@ -1,6 +1,5 @@ #!/bin/bash - python $1.py pdflatex $1.tex @@ -11,4 +10,4 @@ if [[ "$OSTYPE" == "darwin"* ]]; then open $1.pdf else xdg-open $1.pdf -fi +fi \ No newline at end of file From cc0aa5d4f1df042d94f30a90792237338fc3cb7d Mon Sep 17 00:00:00 2001 From: joseareia Date: Tue, 11 Feb 2025 14:41:12 +0000 Subject: [PATCH 02/15] refactor: update label sizes --- layers/Box.sty | 150 +++++++++++++++++++++++-------------------------- 1 file changed, 71 insertions(+), 79 deletions(-) diff --git a/layers/Box.sty b/layers/Box.sty index 38818a87..d56aaa9a 100644 --- a/layers/Box.sty +++ b/layers/Box.sty @@ -1,88 +1,80 @@ \ProvidesPackage{Box} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% This Block can draw simple block of boxes with custom colors. -% Can be used for conv, deconv etc -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \tikzset{Box/.pic={\tikzset{/boxblock/.cd,#1} - \tikzstyle{box}=[every edge/.append style={pic actions, densely dashed, opacity=.7},fill opacity=\opacity, pic actions,fill=\fill] - - \pgfmathsetmacro{\y}{\cubey*\scale} - \pgfmathsetmacro{\z}{\cubez*\scale} + \tikzstyle{box}=[every edge/.append style={pic actions, densely dashed, opacity=.7},fill opacity=\opacity, pic actions,fill=\fill] + + \pgfmathsetmacro{\y}{\cubey*\scale} + \pgfmathsetmacro{\z}{\cubez*\scale} - %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)] - \unscaledx in \cubex - { - \pgfmathsetmacro{\x}{\unscaledx*\scale} - \coordinate (a) at (\k-\x , \y/2 , \z/2); - \coordinate (b) at (\k-\x ,-\y/2 , \z/2); - \coordinate (c) at (\k ,-\y/2 , \z/2); - \coordinate (d) at (\k , \y/2 , \z/2); - \coordinate (e) at (\k , \y/2 ,-\z/2); - \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 - %dotted edges - (f) edge (g) - (b) edge (g) - (h) edge (g) - ; - \path (b) edge ["\xlabel"',midway] (c); - - \xdef\LastEastx{\k} %\k persists as \LastEastx after loop - }%Loop ends - \draw [box] (d) -- (e) -- (f) -- (c) -- cycle; %East face of last box - - \coordinate (a1) at (0 , \y/2 , \z/2); - \coordinate (b1) at (0 ,-\y/2 , \z/2); - \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 - + \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) + ] + \unscaledx in \cubex + { + \pgfmathsetmacro{\x}{\unscaledx*\scale} + \coordinate (a) at (\k-\x , \y/2 , \z/2); + \coordinate (b) at (\k-\x ,-\y/2 , \z/2); + \coordinate (c) at (\k ,-\y/2 , \z/2); + \coordinate (d) at (\k , \y/2 , \z/2); + \coordinate (e) at (\k , \y/2 ,-\z/2); + \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 + (f) edge (g) + (b) edge (g) + (h) edge (g) + ; + \path (b) edge ["\small\xlabel"',midway] (c); + \xdef\LastEastx{\k} + } + \draw [box] (d) -- (e) -- (f) -- (c) -- cycle; - \tikzstyle{captionlabel}=[text width=15*\LastEastx/\scale,text centered] - \path (\LastEastx/2,-\y/2,+\z/2) + (0,-25pt) coordinate (cap) - edge ["\textcolor{black}{ \bf \caption}"',captionlabel](cap) ; %Block caption/pic object label - - %Define nodes to be used outside on the pic object - \coordinate (\name-west) at (0,0,0) ; - \coordinate (\name-east) at (\LastEastx, 0,0) ; - \coordinate (\name-north) at (\LastEastx/2,\y/2,0); - \coordinate (\name-south) at (\LastEastx/2,-\y/2,0); - \coordinate (\name-anchor) at (\LastEastx/2, 0,0) ; - - \coordinate (\name-near) at (\LastEastx/2,0,\z/2); - \coordinate (\name-far) at (\LastEastx/2,0,-\z/2); - - \coordinate (\name-nearwest) at (0,0,\z/2); - \coordinate (\name-neareast) at (\LastEastx,0,\z/2); - \coordinate (\name-farwest) at (0,0,-\z/2); - \coordinate (\name-fareast) at (\LastEastx,0,-\z/2); - - \coordinate (\name-northeast) at (\name-north-|\name-east); - \coordinate (\name-northwest) at (\name-north-|\name-west); - \coordinate (\name-southeast) at (\name-south-|\name-east); - \coordinate (\name-southwest) at (\name-south-|\name-west); - - \coordinate (\name-nearnortheast) at (\LastEastx, \y/2, \z/2); - \coordinate (\name-farnortheast) at (\LastEastx, \y/2,-\z/2); - \coordinate (\name-nearsoutheast) at (\LastEastx,-\y/2, \z/2); - \coordinate (\name-farsoutheast) at (\LastEastx,-\y/2,-\z/2); + \coordinate (a1) at (0 , \y/2 , \z/2); + \coordinate (b1) at (0 ,-\y/2 , \z/2); + + \tikzstyle{depthlabel}=[pos=0.5,text width=14*\z,text centered,sloped] + \path (c) edge ["\small\zlabel"',depthlabel](f); + \path (b1) edge ["\small\ylabel",midway] (a1); + + + \tikzstyle{captionlabel}=[text width=15*\LastEastx/\scale,text centered] + \path (\LastEastx/2,-\y/2,+\z/2) + (0,-25pt) coordinate (cap) + edge ["\textcolor{black}{ \bf \caption}"',captionlabel](cap); - \coordinate (\name-nearnorthwest) at (0, \y/2, \z/2); - \coordinate (\name-farnorthwest) at (0, \y/2,-\z/2); - \coordinate (\name-nearsouthwest) at (0,-\y/2, \z/2); - \coordinate (\name-farsouthwest) at (0,-\y/2,-\z/2); + \coordinate (\name-west) at (0,0,0) ; + \coordinate (\name-east) at (\LastEastx, 0,0) ; + \coordinate (\name-north) at (\LastEastx/2,\y/2,0); + \coordinate (\name-south) at (\LastEastx/2,-\y/2,0); + \coordinate (\name-anchor) at (\LastEastx/2, 0,0) ; + + \coordinate (\name-near) at (\LastEastx/2,0,\z/2); + \coordinate (\name-far) at (\LastEastx/2,0,-\z/2); + + \coordinate (\name-nearwest) at (0,0,\z/2); + \coordinate (\name-neareast) at (\LastEastx,0,\z/2); + \coordinate (\name-farwest) at (0,0,-\z/2); + \coordinate (\name-fareast) at (\LastEastx,0,-\z/2); + + \coordinate (\name-northeast) at (\name-north-|\name-east); + \coordinate (\name-northwest) at (\name-north-|\name-west); + \coordinate (\name-southeast) at (\name-south-|\name-east); + \coordinate (\name-southwest) at (\name-south-|\name-west); + + \coordinate (\name-nearnortheast) at (\LastEastx, \y/2, \z/2); + \coordinate (\name-farnortheast) at (\LastEastx, \y/2,-\z/2); + \coordinate (\name-nearsoutheast) at (\LastEastx,-\y/2, \z/2); + \coordinate (\name-farsoutheast) at (\LastEastx,-\y/2,-\z/2); + + \coordinate (\name-nearnorthwest) at (0, \y/2, \z/2); + \coordinate (\name-farnorthwest) at (0, \y/2,-\z/2); + \coordinate (\name-nearsouthwest) at (0,-\y/2, \z/2); + \coordinate (\name-farsouthwest) at (0,-\y/2,-\z/2); - }, +}, /boxblock/.search also={/tikz}, /boxblock/.cd, width/.store in=\cubex, From 933aef9732ad9d63e9bc34fa67cd0d75ccc36f8f Mon Sep 17 00:00:00 2001 From: joseareia Date: Tue, 11 Feb 2025 14:41:20 +0000 Subject: [PATCH 03/15] refactor: update label sizes --- layers/RightBandedBox.sty | 184 ++++++++++++++++++-------------------- 1 file changed, 89 insertions(+), 95 deletions(-) diff --git a/layers/RightBandedBox.sty b/layers/RightBandedBox.sty index 7d74a514..9ffdc4ad 100644 --- a/layers/RightBandedBox.sty +++ b/layers/RightBandedBox.sty @@ -1,104 +1,98 @@ \ProvidesPackage{RightBandedBox} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% This Block can draw simple block of boxes with custom colors. -% Can be used for conv, deconv etc -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \tikzset{RightBandedBox/.pic={\tikzset{/block/.cd,#1} - - \tikzstyle{box}=[every edge/.append style={pic actions, densely dashed, opacity=.7},fill opacity=\opacity, pic actions,fill=\fill] - - \tikzstyle{band}=[every edge/.append style={pic actions, densely dashed, opacity=.7},fill opacity=\bandopacity, pic actions,fill=\bandfill,draw=\bandfill] + \tikzstyle{box}=[every edge/.append style={pic actions, densely dashed, opacity=.7},fill opacity=\opacity, pic actions,fill=\fill] + + \tikzstyle{band}=[every edge/.append style={pic actions, densely dashed, opacity=.7},fill opacity=\bandopacity, pic actions,fill=\bandfill,draw=\bandfill] + + \pgfmathsetmacro{\y}{\cubey*\scale} + \pgfmathsetmacro{\z}{\cubez*\scale} + + \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)% + ] + + \unscaledx in \cubex + { + \pgfmathsetmacro{\x}{\unscaledx*\scale} + \coordinate (a) at (\k-\x , \y/2 , \z/2); + \coordinate (art) at (\k-\x/3 , \y/2 , \z/2); + \coordinate (b) at (\k-\x ,-\y/2 , \z/2); + \coordinate (brt) at (\k-\x/3 ,-\y/2 , \z/2); + \coordinate (c) at (\k ,-\y/2 , \z/2); + \coordinate (d) at (\k , \y/2 , \z/2); + \coordinate (e) at (\k , \y/2 ,-\z/2); + \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); + \coordinate (hrt) at (\k-\x/3 , \y/2 ,-\z/2); - \pgfmathsetmacro{\y}{\cubey*\scale} - \pgfmathsetmacro{\z}{\cubez*\scale} + \draw [box] + (d) -- (a) -- (b) -- (c) -- cycle + (d) -- (a) -- (h) -- (e) -- cycle; - %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)] - \unscaledx in \cubex - { - \pgfmathsetmacro{\x}{\unscaledx*\scale} - \coordinate (a) at (\k-\x , \y/2 , \z/2); - \coordinate (art) at (\k-\x/3 , \y/2 , \z/2); %a_right_third - \coordinate (b) at (\k-\x ,-\y/2 , \z/2); - \coordinate (brt) at (\k-\x/3 ,-\y/2 , \z/2); %b_right_third - \coordinate (c) at (\k ,-\y/2 , \z/2); - \coordinate (d) at (\k , \y/2 , \z/2); - \coordinate (e) at (\k , \y/2 ,-\z/2); - \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); - \coordinate (hrt) at (\k-\x/3 , \y/2 ,-\z/2); %h_right_third - - %fill box color - \draw [box] - (d) -- (a) -- (b) -- (c) -- cycle - (d) -- (a) -- (h) -- (e) -- cycle; - %dotted edges - \draw [box] - (f) edge (g) - (b) edge (g) - (h) edge (g); - %fill band color - \draw [band] - (d) -- (art) -- (brt) -- (c) -- cycle - (d) -- (art) -- (hrt) -- (e) -- cycle; - %draw edges again which were covered by band - \draw [box,fill opacity=0] - (d) -- (a) -- (b) -- (c) -- cycle - (d) -- (a) -- (h) -- (e) -- cycle; - - \path (b) edge ["\xlabel"',midway] (c); + \draw [box] + (f) edge (g) + (b) edge (g) + (h) edge (g); + + \draw [band] + (d) -- (art) -- (brt) -- (c) -- cycle + (d) -- (art) -- (hrt) -- (e) -- cycle; + + \draw [box,fill opacity=0] + (d) -- (a) -- (b) -- (c) -- cycle + (d) -- (a) -- (h) -- (e) -- cycle; - \xdef\LastEastx{\k} %\k persists as \LastEastx after loop - }%Loop ends - \draw [box] (d) -- (e) -- (f) -- (c) -- cycle; %East face of last box - \draw [band] (d) -- (e) -- (f) -- (c) -- cycle; %East face of last box - \draw [pic actions] (d) -- (e) -- (f) -- (c) -- cycle; %East face edges of last box - - \coordinate (a1) at (0 , \y/2 , \z/2); - \coordinate (b1) at (0 ,-\y/2 , \z/2); - \tikzstyle{depthlabel}=[pos=0,text width=14*\z,text centered,sloped] + \path (b) edge ["\small\xlabel"',midway] (c); - \path (c) edge ["\small\zlabels"',depthlabel](f); %depth label - \path (b1) edge ["\ylabel",midway] (a1); %height label - - \tikzstyle{captionlabel}=[text width=15*\LastEastx/\scale,text centered] - \path (\LastEastx/2,-\y/2,+\z/2) + (0,-25pt) coordinate (cap) - edge ["\textcolor{black}{ \bf \caption}"',captionlabel] (cap); %Block caption/pic object label - - %Define nodes to be used outside on the pic object - \coordinate (\name-west) at (0,0,0) ; - \coordinate (\name-east) at (\LastEastx, 0,0) ; - \coordinate (\name-north) at (\LastEastx/2,\y/2,0); - \coordinate (\name-south) at (\LastEastx/2,-\y/2,0); - \coordinate (\name-anchor) at (\LastEastx/2, 0,0) ; - - \coordinate (\name-near) at (\LastEastx/2,0,\z/2); - \coordinate (\name-far) at (\LastEastx/2,0,-\z/2); - - \coordinate (\name-nearwest) at (0,0,\z/2); - \coordinate (\name-neareast) at (\LastEastx,0,\z/2); - \coordinate (\name-farwest) at (0,0,-\z/2); - \coordinate (\name-fareast) at (\LastEastx,0,-\z/2); - - \coordinate (\name-northeast) at (\name-north-|\name-east); - \coordinate (\name-northwest) at (\name-north-|\name-west); - \coordinate (\name-southeast) at (\name-south-|\name-east); - \coordinate (\name-southwest) at (\name-south-|\name-west); - - \coordinate (\name-nearnortheast) at (\LastEastx, \y/2, \z/2); - \coordinate (\name-farnortheast) at (\LastEastx, \y/2,-\z/2); - \coordinate (\name-nearsoutheast) at (\LastEastx,-\y/2, \z/2); - \coordinate (\name-farsoutheast) at (\LastEastx,-\y/2,-\z/2); + \xdef\LastEastx{\k} + } + + \draw [box] (d) -- (e) -- (f) -- (c) -- cycle; + \draw [band] (d) -- (e) -- (f) -- (c) -- cycle; + \draw [pic actions] (d) -- (e) -- (f) -- (c) -- cycle; + + \coordinate (a1) at (0 , \y/2 , \z/2); + \coordinate (b1) at (0 ,-\y/2 , \z/2); + + \tikzstyle{depthlabel}=[pos=0.5,text width=14*\z,text centered,sloped] + \path (c) edge ["\small\zlabels"',depthlabel](f); + \path (b1) edge ["\small\ylabel",midway] (a1); + + \tikzstyle{captionlabel}=[text width=15*\LastEastx/\scale,text centered] + \path (\LastEastx/2,-\y/2,+\z/2) + (0,-25pt) coordinate (cap) + edge ["\textcolor{black}{ \bf \caption}"',captionlabel] (cap); - \coordinate (\name-nearnorthwest) at (0, \y/2, \z/2); - \coordinate (\name-farnorthwest) at (0, \y/2,-\z/2); - \coordinate (\name-nearsouthwest) at (0,-\y/2, \z/2); - \coordinate (\name-farsouthwest) at (0,-\y/2,-\z/2); - }, + \coordinate (\name-west) at (0,0,0) ; + \coordinate (\name-east) at (\LastEastx, 0,0) ; + \coordinate (\name-north) at (\LastEastx/2,\y/2,0); + \coordinate (\name-south) at (\LastEastx/2,-\y/2,0); + \coordinate (\name-anchor) at (\LastEastx/2, 0,0) ; + + \coordinate (\name-near) at (\LastEastx/2,0,\z/2); + \coordinate (\name-far) at (\LastEastx/2,0,-\z/2); + + \coordinate (\name-nearwest) at (0,0,\z/2); + \coordinate (\name-neareast) at (\LastEastx,0,\z/2); + \coordinate (\name-farwest) at (0,0,-\z/2); + \coordinate (\name-fareast) at (\LastEastx,0,-\z/2); + + \coordinate (\name-northeast) at (\name-north-|\name-east); + \coordinate (\name-northwest) at (\name-north-|\name-west); + \coordinate (\name-southeast) at (\name-south-|\name-east); + \coordinate (\name-southwest) at (\name-south-|\name-west); + + \coordinate (\name-nearnortheast) at (\LastEastx, \y/2, \z/2); + \coordinate (\name-farnortheast) at (\LastEastx, \y/2,-\z/2); + \coordinate (\name-nearsoutheast) at (\LastEastx,-\y/2, \z/2); + \coordinate (\name-farsoutheast) at (\LastEastx,-\y/2,-\z/2); + + \coordinate (\name-nearnorthwest) at (0, \y/2, \z/2); + \coordinate (\name-farnorthwest) at (0, \y/2,-\z/2); + \coordinate (\name-nearsouthwest) at (0,-\y/2, \z/2); + \coordinate (\name-farsouthwest) at (0,-\y/2,-\z/2); +}, /block/.search also={/tikz}, /block/.cd, width/.store in=\cubex, @@ -127,4 +121,4 @@ zlabel=, caption=, name=, -} +} \ No newline at end of file From a59077615bf1df8e8edcac57710d231d73ff0ed5 Mon Sep 17 00:00:00 2001 From: joseareia Date: Tue, 11 Feb 2025 14:41:40 +0000 Subject: [PATCH 04/15] fix: update main package name --- layers/init.tex | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 layers/init.tex diff --git a/layers/init.tex b/layers/init.tex deleted file mode 100644 index 9a9b3eb0..00000000 --- a/layers/init.tex +++ /dev/null @@ -1,11 +0,0 @@ -%\ProvidesPackage{init} -\usetikzlibrary{quotes,arrows.meta} -\usetikzlibrary{positioning} - -\def\edgecolor{rgb:blue,4;red,1;green,4;black,3} -\newcommand{\midarrow}{\tikz \draw[-Stealth,line width =0.8mm,draw=\edgecolor] (-0.3,0) -- ++(0.3,0);} - -\usepackage{Ball} -\usepackage{Box} -\usepackage{RightBandedBox} - From caa6357cc5e22ae6578cc7b17825fa2ed7a20693 Mon Sep 17 00:00:00 2001 From: joseareia Date: Tue, 11 Feb 2025 14:41:57 +0000 Subject: [PATCH 05/15] refactor: update main package name --- layers/NeuralPlot.tex | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 layers/NeuralPlot.tex diff --git a/layers/NeuralPlot.tex b/layers/NeuralPlot.tex new file mode 100644 index 00000000..5eb65822 --- /dev/null +++ b/layers/NeuralPlot.tex @@ -0,0 +1,9 @@ +\usetikzlibrary{quotes,arrows.meta} +\usetikzlibrary{positioning} + +\def\edgecolor{rgb:blue,4;red,1;green,4;black,3} +\newcommand{\midarrow}{\tikz \draw[-Stealth,line width=0.5mm,draw=\edgecolor] (-0.3,0) -- ++(0.3,0);} + +\usepackage{Ball} +\usepackage{Box} +\usepackage{RightBandedBox} \ No newline at end of file From f4f1521d5546c685bf631c55b899456b434c6790 Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:04:04 +0000 Subject: [PATCH 06/15] docs: update license --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 914f9771..95a62a19 100644 --- a/LICENSE +++ b/LICENSE @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. \ No newline at end of file From 621747649b334c6338df8c61808ee34498f9cf8f Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:07:24 +0000 Subject: [PATCH 07/15] docs: update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bcd90af4..4e7ca6e4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# PlotNeuralNet +# Plot Neural Net [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2526396.svg)](https://doi.org/10.5281/zenodo.2526396) -Latex code for drawing neural networks for reports and presentation. Have a look into examples to see how they are made. Additionally, lets consolidate any improvements that you make and fix any bugs to help more people with this code. +LaTeX code for drawing neural networks for reports and presentations. Take a look at the examples to see how they are made. Additionally, let's consolidate any improvements you make and fix any bugs to help more people with this code. ## Examples From f7a3fdd1c17b66366d48110d56c3ba01cbdd0645 Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:11:23 +0000 Subject: [PATCH 08/15] docs: update readme --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 4e7ca6e4..e35eae1d 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,7 @@ Following are some network representations: * Ubuntu 18.04.2 Base on this [website](https://gist.github.com/rain1024/98dd5e2c6c8c28f9ea9d), please install the following packages. ``` - sudo apt-get install texlive-latex-base - sudo apt-get install texlive-fonts-recommended - sudo apt-get install texlive-fonts-extra - sudo apt-get install texlive-latex-extra + sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra ``` * Windows From 776893088984f6117652b49d6df5375c16cf8de6 Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:12:15 +0000 Subject: [PATCH 09/15] docs: update readme --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e35eae1d..f7d43197 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,13 @@ Following are some network representations:
Holistically-Nested Edge Detection (view on Overleaf)
## Getting Started -1. Install the following packages on Ubuntu. +1. **Install the following packages on Ubuntu.** * Ubuntu 16.04 ``` sudo apt-get install texlive-latex-extra ``` - * Ubuntu 18.04.2 -Base on this [website](https://gist.github.com/rain1024/98dd5e2c6c8c28f9ea9d), please install the following packages. + * Ubuntu 18.04. ``` sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra ``` @@ -35,7 +34,7 @@ Base on this [website](https://gist.github.com/rain1024/98dd5e2c6c8c28f9ea9d), p 1. Download and install [MikTeX](https://miktex.org/download). 2. Download and install bash runner on Windows, recommends [Git bash](https://git-scm.com/download/win) or Cygwin(https://www.cygwin.com/) -2. Execute the example as followed. +2. **Execute the example as following.** ``` cd pyexamples/ bash ../tikzmake.sh test_simple From 608268f31903b7a5af8e8a19343675265141b187 Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:12:21 +0000 Subject: [PATCH 10/15] docs: update readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index f7d43197..b9008338 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,6 @@ Following are some network representations: - [X] Python interface - [ ] Add easy legend functionality - [ ] Add more layer shapes like TruncatedPyramid, 2DSheet etc -- [ ] Add examples for RNN and likes. ## Latex usage From 5ccfba0eeb8403dcb6c857f3b4b889eeb4f7e483 Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:12:26 +0000 Subject: [PATCH 11/15] docs: update readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index b9008338..10272756 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,6 @@ Following are some network representations: - [X] Python interface - [ ] Add easy legend functionality -- [ ] Add more layer shapes like TruncatedPyramid, 2DSheet etc ## Latex usage From 4174754b84bed5791f3d311a19fd4b7e16bdf89d Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:12:43 +0000 Subject: [PATCH 12/15] docs: update readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 10272756..cdba6e17 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ Following are some network representations: ## TODO - [X] Python interface -- [ ] Add easy legend functionality ## Latex usage From 845f25ca457f7ae74c1155def871585f3104d456 Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:12:51 +0000 Subject: [PATCH 13/15] docs: update readme --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index cdba6e17..ec3a801b 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,6 @@ Following are some network representations: ## TODO -- [X] Python interface - ## Latex usage See [`examples`](examples) directory for usage. From 8ff73dea2e22aedc365a983d14bade5c08a5736f Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:12:56 +0000 Subject: [PATCH 14/15] docs: update readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index ec3a801b..b036dde9 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,6 @@ Following are some network representations: bash ../tikzmake.sh test_simple ``` -## TODO ## Latex usage From 1bd5a1bc7905544d2fbe8ba19e54025b10c9aa84 Mon Sep 17 00:00:00 2001 From: joseareia Date: Sat, 15 Feb 2025 17:13:03 +0000 Subject: [PATCH 15/15] docs: update readme --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b036dde9..3d50396b 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,7 @@ Following are some network representations: cd pyexamples/ bash ../tikzmake.sh test_simple ``` - - + ## Latex usage See [`examples`](examples) directory for usage.