From e86824f96086bbbf8a33d554b1809e7f3f540183 Mon Sep 17 00:00:00 2001 From: Vincent Dumoulin Date: Thu, 25 Feb 2016 20:14:08 -0500 Subject: [PATCH] Add minimal technical report draft --- .gitignore | 2 +- bibliography.bib | 10 ++++++++++ bin/generate_makefile | 17 +++++++++++++++-- conv_arithmetic.tex | 31 +++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 bibliography.bib create mode 100644 conv_arithmetic.tex diff --git a/.gitignore b/.gitignore index 6f22b8f..8ed8bb8 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ Makefile # these rules might exclude image files for figures etc. # *.ps # *.eps -# *.pdf +*.pdf ## Bibliography auxiliary files (bibtex/biblatex/biber): *.bbl diff --git a/bibliography.bib b/bibliography.bib new file mode 100644 index 0000000..ff12e84 --- /dev/null +++ b/bibliography.bib @@ -0,0 +1,10 @@ +@article{lecun1998gradient, + title={Gradient-based learning applied to document recognition}, + author={LeCun, Yann and Bottou, L{\'e}on and Bengio, Yoshua and Haffner, Patrick}, + journal={Proceedings of the IEEE}, + volume={86}, + number={11}, + pages={2278--2324}, + year={1998}, + publisher={IEEE} +} diff --git a/bin/generate_makefile b/bin/generate_makefile index 33cf0f5..b7829ec 100755 --- a/bin/generate_makefile +++ b/bin/generate_makefile @@ -41,6 +41,18 @@ def make_header(): '.SECONDARY : \n') +def make_report_section(): + return ('conv_arithmetic.pdf : conv_arithmetic.tex\n' + '\tpdflatex conv_arithmetic\n' + '\tpdflatex conv_arithmetic\n' + '\tbibtex conv_arithmetic\n' + '\tpdflatex conv_arithmetic\n' + '\tpdflatex conv_arithmetic\n\n' + '.PHONY : clean\n' + 'clean : \n' + '\trm -f conv_arithmetic.{aux,bbl,blg,log}\n') + + def make_gif_section(): rules = [] for name, config in iteritems(animations): @@ -92,8 +104,9 @@ def make_pdf_section(): def main(): with open('Makefile', 'w') as makefile: - makefile.write('\n'.join([make_header(), make_gif_section(), - make_png_section(), make_pdf_section()])) + makefile.write('\n'.join([make_report_section(), make_header(), + make_gif_section(), make_png_section(), + make_pdf_section()])) if __name__ == "__main__": diff --git a/conv_arithmetic.tex b/conv_arithmetic.tex new file mode 100644 index 0000000..4b7f961 --- /dev/null +++ b/conv_arithmetic.tex @@ -0,0 +1,31 @@ +\documentclass{article} +\usepackage{amsmath,amsfonts} +\usepackage{authblk} +\usepackage[T1]{fontenc} +\usepackage{graphicx} +\usepackage{hyperref} +\usepackage[utf8]{inputenc} +\usepackage{natbib} +\usepackage{xcolor} + +\definecolor{red}{RGB}{220,50,47} + +\newcommand{\todo}[1]{\textcolor{red}{TODO: #1}} + +\title{A guide to convolution arithmetic for deep learning} +\author[1]{Vincent Dumoulin\thanks{dumouliv@iro.umontreal.ca}} +\author[1]{Francesco Visin\thanks{fvisin@gmail.com}} +\affil[1]{MILA, Universit\'{e} de Montr\'{e}al} +\date{\today} + +\begin{document} + +\maketitle + +\begin{abstract} +\todo{WRITEME} \cite{lecun1998gradient}. +\end{abstract} + +\bibliography{bibliography} +\bibliographystyle{natbib} +\end{document}