aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornunzip <np_scarh@e4-pattern-vm.europe-west4-a.c.electric-orbit-223819.internal>2018-12-10 02:43:42 +0000
committernunzip <np_scarh@e4-pattern-vm.europe-west4-a.c.electric-orbit-223819.internal>2018-12-10 02:43:42 +0000
commit918e83b0b1e5a17b3493fa7f28f6039a0ebf1169 (patch)
tree8ac3a9073c57b450388390b382aac0cfbee740cd
parent743ac705dac81896f30227fb949c3175ef751427 (diff)
parent73b3f57c7059656d16c361dc4565e9d6af485c87 (diff)
downloadvz215_np1915-918e83b0b1e5a17b3493fa7f28f6039a0ebf1169.tar.gz
vz215_np1915-918e83b0b1e5a17b3493fa7f28f6039a0ebf1169.tar.bz2
vz215_np1915-918e83b0b1e5a17b3493fa7f28f6039a0ebf1169.zip
Merge branch 'master' of skozl.com:e4-pattern
-rwxr-xr-xevaluate.py2
-rw-r--r--report2/fig/allbaselines.pdfbin0 -> 14303 bytes
-rw-r--r--report2/fig/baseline.pdfbin11539 -> 11968 bytes
-rw-r--r--report2/fig/cdist.pdfbin0 -> 11631 bytes
-rw-r--r--report2/fig/clusteracc.pdfbin0 -> 15895 bytes
-rw-r--r--report2/fig/comparison.pdfbin14388 -> 14810 bytes
-rw-r--r--report2/fig/eucranklist.pngbin3880590 -> 3137716 bytes
-rw-r--r--report2/fig/jaccard.pdfbin0 -> 12026 bytes
-rw-r--r--report2/fig/kmeanacc.pdfbin0 -> 13787 bytes
-rw-r--r--report2/fig/lambda_acc.pdfbin0 -> 13697 bytes
-rw-r--r--report2/fig/lamda_acc_tr.pdfbin0 -> 13719 bytes
-rw-r--r--report2/fig/mAP.pdfbin0 -> 14023 bytes
-rw-r--r--report2/fig/mahalanobis.pdfbin0 -> 41611 bytes
-rw-r--r--report2/fig/pqvals.pdfbin13873 -> 14299 bytes
-rw-r--r--report2/fig/ranklist.pngbin2739729 -> 2836148 bytes
-rw-r--r--report2/fig/subspace.pdfbin0 -> 10339 bytes
-rw-r--r--report2/fig/trainpqvals.pdfbin0 -> 14298 bytes
-rwxr-xr-xreport2/paper.md36
-rw-r--r--report2/template.latex1
19 files changed, 37 insertions, 2 deletions
diff --git a/evaluate.py b/evaluate.py
index 9910360..5948acc 100755
--- a/evaluate.py
+++ b/evaluate.py
@@ -44,7 +44,7 @@ parser.add_argument("-e", "--euclidean", help="Standard euclidean", action='stor
parser.add_argument("-r", "--rerank", help="Use k-reciprocal rernaking", action='store_true')
parser.add_argument("-p", "--reranka", help="Parameter 1 for Rerank", type=int, default = 11)
parser.add_argument("-q", "--rerankb", help="Parameter 2 for rerank", type=int, default = 3)
-parser.add_argument("-l", "--rerankl", help="Coefficient to combine distances", type=int, default = 0.3)
+parser.add_argument("-l", "--rerankl", help="Coefficient to combine distances", type=float, default = 0.3)
parser.add_argument("-n", "--neighbors", help="Number of neighbors", type=int, default = 1)
parser.add_argument("-v", "--verbose", help="Use verbose output", action='store_true')
parser.add_argument("-s", "--showrank", help="Save ranklist pic id in a txt file", type=int, default = 0)
diff --git a/report2/fig/allbaselines.pdf b/report2/fig/allbaselines.pdf
new file mode 100644
index 0000000..2abbb57
--- /dev/null
+++ b/report2/fig/allbaselines.pdf
Binary files differ
diff --git a/report2/fig/baseline.pdf b/report2/fig/baseline.pdf
index e6a4794..8c57f05 100644
--- a/report2/fig/baseline.pdf
+++ b/report2/fig/baseline.pdf
Binary files differ
diff --git a/report2/fig/cdist.pdf b/report2/fig/cdist.pdf
new file mode 100644
index 0000000..78f6fed
--- /dev/null
+++ b/report2/fig/cdist.pdf
Binary files differ
diff --git a/report2/fig/clusteracc.pdf b/report2/fig/clusteracc.pdf
new file mode 100644
index 0000000..054127b
--- /dev/null
+++ b/report2/fig/clusteracc.pdf
Binary files differ
diff --git a/report2/fig/comparison.pdf b/report2/fig/comparison.pdf
index 8e202fa..7d65092 100644
--- a/report2/fig/comparison.pdf
+++ b/report2/fig/comparison.pdf
Binary files differ
diff --git a/report2/fig/eucranklist.png b/report2/fig/eucranklist.png
index 9daaa9c..3f03a73 100644
--- a/report2/fig/eucranklist.png
+++ b/report2/fig/eucranklist.png
Binary files differ
diff --git a/report2/fig/jaccard.pdf b/report2/fig/jaccard.pdf
new file mode 100644
index 0000000..53cf407
--- /dev/null
+++ b/report2/fig/jaccard.pdf
Binary files differ
diff --git a/report2/fig/kmeanacc.pdf b/report2/fig/kmeanacc.pdf
new file mode 100644
index 0000000..4d1ab8e
--- /dev/null
+++ b/report2/fig/kmeanacc.pdf
Binary files differ
diff --git a/report2/fig/lambda_acc.pdf b/report2/fig/lambda_acc.pdf
new file mode 100644
index 0000000..7cac239
--- /dev/null
+++ b/report2/fig/lambda_acc.pdf
Binary files differ
diff --git a/report2/fig/lamda_acc_tr.pdf b/report2/fig/lamda_acc_tr.pdf
new file mode 100644
index 0000000..cb06075
--- /dev/null
+++ b/report2/fig/lamda_acc_tr.pdf
Binary files differ
diff --git a/report2/fig/mAP.pdf b/report2/fig/mAP.pdf
new file mode 100644
index 0000000..0cf7156
--- /dev/null
+++ b/report2/fig/mAP.pdf
Binary files differ
diff --git a/report2/fig/mahalanobis.pdf b/report2/fig/mahalanobis.pdf
new file mode 100644
index 0000000..2362cfa
--- /dev/null
+++ b/report2/fig/mahalanobis.pdf
Binary files differ
diff --git a/report2/fig/pqvals.pdf b/report2/fig/pqvals.pdf
index c43641e..425891c 100644
--- a/report2/fig/pqvals.pdf
+++ b/report2/fig/pqvals.pdf
Binary files differ
diff --git a/report2/fig/ranklist.png b/report2/fig/ranklist.png
index 86ecb6b..1cb2647 100644
--- a/report2/fig/ranklist.png
+++ b/report2/fig/ranklist.png
Binary files differ
diff --git a/report2/fig/subspace.pdf b/report2/fig/subspace.pdf
new file mode 100644
index 0000000..2ab1f5b
--- /dev/null
+++ b/report2/fig/subspace.pdf
Binary files differ
diff --git a/report2/fig/trainpqvals.pdf b/report2/fig/trainpqvals.pdf
new file mode 100644
index 0000000..800b3da
--- /dev/null
+++ b/report2/fig/trainpqvals.pdf
Binary files differ
diff --git a/report2/paper.md b/report2/paper.md
index 14f2f98..0ceeedd 100755
--- a/report2/paper.md
+++ b/report2/paper.md
@@ -45,14 +45,48 @@ EXPLAIN KNN BRIEFLY
\begin{figure}
\begin{center}
-\includegraphics[width=17em]{fig/baseline.pdf}
+\includegraphics[width=20em]{fig/baseline.pdf}
\caption{Recognition accuracy of baseline Nearest Neighbor @rank k}
\label{fig:baselineacc}
\end{center}
\end{figure}
+\begin{figure}
+\begin{center}
+\includegraphics[width=22em]{fig/eucranklist.png}
+\caption{Ranklist @rank10 generated for 5 query images}
+\label{fig:eucrank}
+\end{center}
+\end{figure}
+
+
# Suggested Improvement
+\begin{figure}
+\begin{center}
+\includegraphics[width=24em]{fig/ranklist.png}
+\caption{Ranklist (improved method) @rank10 generated for 5 query images}
+\label{fig:ranklist2}
+\end{center}
+\end{figure}
+
+\begin{figure}
+\begin{center}
+\includegraphics[width=20em]{fig/comparison.pdf}
+\caption{Comparison of recognition accuracy @rank k}
+\label{fig:baselineacc}
+\end{center}
+\end{figure}
+
+\begin{figure}
+\begin{center}
+\includegraphics[width=17em]{fig/pqvals.pdf}
+\caption{Recognition accuracy varying K1 and K2}
+\label{fig:pqvals}
+\end{center}
+\end{figure}
+
+
# Conclusion
# References
diff --git a/report2/template.latex b/report2/template.latex
index 4520e03..49b4963 100644
--- a/report2/template.latex
+++ b/report2/template.latex
@@ -126,6 +126,7 @@ $if(tables)$
% Fix footnotes in tables (requires footnote package)
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{}
$endif$
+\usepackage{graphicx}
$if(graphics)$
\usepackage{graphicx,grffile}
\makeatletter