i am new here. i am writing my thesis and i would like to make a table like this:
I am using the template "classicthesis" for my thesis. My code for the table so far looks like this:
\begin{table}
\myfloatalign
\noindent
\begin{tabularx}{\textwidth}{lrrrrr} \toprule
\tableheadline{Model}
& \tableheadline{Size (pixels)}
& \tableheadline{$mAP^{val}$ 0.5:0.95}
& \tableheadline{$mAP^{val}$ 0.5}
& \tableheadline{Speed CPU b1 (ms)}
& \tableheadline{Speed V100 b1 (ms)} \\ \midrule
YOLOv5n & 640 & 28.0 & 45.7 & 45 & 6.3 \\
YOLOv5s & 640 & 37.4 & 56.8 & 98 & 6.4 \\
YOLOv5m & 640 & 45.4 & 64.1 & 224 & 8.2 \\
YOLOv5l & 640 & 49.0 & 67.3 & 430 & 10.1 \\
YOLOv5x & 640 & 50.7 & 68.9 & 766 & 12.1 \\
\midrule
YOLOv5n6 & 1280 & 36.0 & 54.4 & 153 & 8.1 \\
YOLOv5s6 & 1280 & 44.8 & 63.7 & 385 & 8.2 \\
YOLOv5m6 & 1280 & 51.3 & 69.3 & 887 & 11.1 \\
YOLOv5l6 & 1280 & 53.7 & 71.3 & 1784 & 15.8 \\
YOLOv5x6 & 1280 & 55.0 & 72.7 & 3136 & 26.2 \\
\bottomrule
\end{tabularx}
\caption{Network performance}
\end{table}
This is the result:
It would be awesome if you could show me how to fix the headers.
Thank You so much!
tabularx
if you don't have anyX
column specifier. Second, give a complete working example, including all necessary packages. Don't use unknown commands, like\myfloatalign
and\tableheadline
.\renewcommand\theadfont{\scshape}