表格未延伸至下一页

表格未延伸至下一页

我使用 excel2latex 插件将我的 excel 表格转换为 LaTeX。但是表格很长,当前页面已满时不会扩展到下一页。我已经安装了\usepackage{multirow,longtable,bigstrut,caption}。我尝试将 更改\begin{table}\begin{longtable}但仍然没有积极的结果。我应该在下面的原始代码中更改什么才能使其正常工作:

% Table generated by Excel2LaTeX from sheet '(ALL)'
\begin{table}[htbp]
  \centering
  \caption{TESTING}
    \begin{tabular}{|l|r|r|r|rrrr}
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{4}{|c|}{\textbf{Seq1}} & \multicolumn{1}{r|}{} & \multicolumn{3}{c|}{\textbf{Seq2}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{1}{|c|}{\textbf{Method}} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} & \multicolumn{1}{r|}{} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} \\
\cmidrule{1-4}\cmidrule{6-8}    \textcolor[rgb]{ 1,  0,  0}{\textbf{R-GTCG}} & 0.69527 & 0.67426 & 0.68460 & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{0.90242} & \multicolumn{1}{r|}{0.89107} & \multicolumn{1}{r|}{0.89671} \\
\cmidrule{1-4}\cmidrule{6-8}    \textbf{OURS} & \textbf{0.75482} & \textbf{0.75482} & \textbf{0.75482} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{\textbf{0.92057}} & \multicolumn{1}{r|}{\textbf{0.91528}} & \multicolumn{1}{r|}{\textbf{0.91792}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{4}{|c|}{\textbf{Seq3}} & \multicolumn{1}{r|}{} &       & \multicolumn{1}{l}{\textbf{Seq4}} & \multicolumn{1}{r|}{} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{1}{|c|}{\textbf{Method}} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} & \multicolumn{1}{r|}{} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} \\
\cmidrule{1-4}\cmidrule{6-8}    \textcolor[rgb]{ 1,  0,  0}{\textbf{R-GTCG}} & \textbf{0.74896} & \textbf{0.74896} & \textbf{0.74896} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{0.61123} & \multicolumn{1}{r|}{0.61019} & \multicolumn{1}{r|}{0.61071} \\
\cmidrule{1-4}\cmidrule{6-8}    \textbf{OURS} & \textbf{0.74896} & \textbf{0.74896} & \textbf{0.74896} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{\textbf{0.81705}} & \multicolumn{1}{r|}{\textbf{0.81705}} & \multicolumn{1}{r|}{\textbf{0.81705}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{4}{|c|}{\textbf{Seq5}} & \multicolumn{1}{r|}{} & \multicolumn{3}{c|}{\textbf{Seq6}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{1}{|c|}{\textbf{Method}} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} & \multicolumn{1}{r|}{} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} \\
\cmidrule{1-4}\cmidrule{6-8}    \textcolor[rgb]{ 1,  0,  0}{\textbf{R-GTCG}} & 0.87119 & 0.84164 & 0.85616 & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{0.88654} & \multicolumn{1}{r|}{0.88654} & \multicolumn{1}{r|}{0.88654} \\
\cmidrule{1-4}\cmidrule{6-8}    \textbf{OURS} & \textbf{0.89381} & \textbf{0.89474} & \textbf{0.89427} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{\textbf{0.89259}} & \multicolumn{1}{r|}{\textbf{0.89259}} & \multicolumn{1}{r|}{\textbf{0.89259}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{4}{|c|}{\textbf{Seq7}} & \multicolumn{1}{r|}{} & \multicolumn{3}{c|}{\textbf{Seq8}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{1}{|c|}{\textbf{Method}} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} & \multicolumn{1}{r|}{} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} \\
\cmidrule{1-4}\cmidrule{6-8}    \textcolor[rgb]{ 1,  0,  0}{\textbf{R-GTCG}} & \textbf{0.80783} & 0.79928 & 0.80353 & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{0.18731} & \multicolumn{1}{r|}{0.18731} & \multicolumn{1}{r|}{0.18731} \\
\cmidrule{1-4}\cmidrule{6-8}    \textbf{OURS} & 0.80603 & \textbf{0.80828} & \textbf{0.80715} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{\textbf{0.62538}} & \multicolumn{1}{r|}{\textbf{0.62538}} & \multicolumn{1}{r|}{\textbf{0.62538}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{4}{|c|}{\textbf{Seq9}} & \multicolumn{1}{r|}{} & \multicolumn{3}{c|}{\textbf{Seq10}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{1}{|c|}{\textbf{Method}} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} & \multicolumn{1}{r|}{} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} \\
\cmidrule{1-4}\cmidrule{6-8}    \textcolor[rgb]{ 1,  0,  0}{\textbf{R-GTCG}} & 0.96184 & 0.95988 & 0.96086 & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{0.88875} & \multicolumn{1}{r|}{0.87596} & \multicolumn{1}{r|}{0.88231} \\
\cmidrule{1-4}\cmidrule{6-8}    \textbf{OURS} & \textbf{0.99804} & \textbf{0.99609} & \textbf{0.99706} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{\textbf{0.90537}} & \multicolumn{1}{r|}{\textbf{0.90537}} & \multicolumn{1}{r|}{\textbf{0.90537}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{4}{|c|}{\textbf{Seq11}} & \multicolumn{1}{r|}{} & \multicolumn{3}{c|}{\textbf{Seq12}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{1}{|c|}{\textbf{Method}} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} & \multicolumn{1}{r|}{} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} \\
\cmidrule{1-4}\cmidrule{6-8}    \textcolor[rgb]{ 1,  0,  0}{\textbf{R-GTCG}} & 0.00948 & 0.00474 & 0.00632 & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{\textbf{0.00000}} & \multicolumn{1}{r|}{\textbf{0.00000}} & \multicolumn{1}{r|}{\textbf{0.00000}} \\
\cmidrule{1-4}\cmidrule{6-8}    \textbf{OURS} & \textbf{0.84360} & \textbf{0.84360} & \textbf{0.84360} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{\textbf{0.00000}} & \multicolumn{1}{r|}{\textbf{0.00000}} & \multicolumn{1}{r|}{\textbf{0.00000}} \\
\newpage
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{4}{|c|}{\textbf{Seq13}} & \multicolumn{1}{r|}{} & \multicolumn{3}{c|}{\textbf{Seq14}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{1}{|c|}{\textbf{Method}} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} & \multicolumn{1}{r|}{} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} \\
\cmidrule{1-4}\cmidrule{6-8}    \textcolor[rgb]{ 1,  0,  0}{\textbf{R-GTCG}} & \textbf{0.03131} & \textbf{0.03131} & \textbf{0.03131} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{0.08329} & \multicolumn{1}{r|}{0.08329} & \multicolumn{1}{r|}{0.08329} \\
\cmidrule{1-4}\cmidrule{6-8}    \textbf{OURS} & 0.00196 & 0.00196 & 0.00196 & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{\textbf{0.08716}} & \multicolumn{1}{r|}{\textbf{0.08716}} & \multicolumn{1}{r|}{\textbf{0.08716}} \\
\cmidrule{1-4}\cmidrule{6-8}    \multicolumn{4}{|c|}{\textbf{Seq15}} &       &       &       &  \\
\cmidrule{1-4}    \multicolumn{1}{|c|}{\textbf{Method}} & \multicolumn{1}{c|}{\textbf{Prec}} & \multicolumn{1}{c|}{\textbf{Rec}} & \multicolumn{1}{c|}{\textbf{F1}} &       &       &       &  \\
\cmidrule{1-4}    \textcolor[rgb]{ 1,  0,  0}{\textbf{R-GTCG}} & 0.85840 & 0.83793 & 0.84804 &       &       &       &  \\
\cmidrule{1-4}    \textbf{OURS} & \textbf{0.85878} & \textbf{0.88959} & \textbf{0.87392} &       &       &       &  \\
\cmidrule{1-4}    \end{tabular}%
  \label{tab:addlabel}%
\end{table}%

答案1

这是一个更简单的代码,以及一个更好看的表格,没有垂直线,用于siunitx数字对齐:

\documentclass[10pt,a4paper]{article}

\usepackage[top=1in, bottom=1.25in, hmargin=1.25in, ]{geometry}
\geometry{a4paper,  showframe}
\usepackage{array, booktabs,tabularx, longtable}
\usepackage{siunitx}
\sisetup{table-format=1.5, table-number-alignment=center,  detect-all}
\usepackage[table]{xcolor}

\begin{document}

% Table generated by Excel2LaTeX from sheet '(ALL)'
\begin{longtable}{@{} >{\bfseries}lSSScSSS}%
  \caption{TESTING}
  \endfirsthead
  %\cmidrule{1-4}\cmidrule{6-8}
  &  \multicolumn{3}{c}{\textbf{Seq1}} & & \multicolumn{3}{c}{\textbf{Seq2}} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8} %
  Method                           & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      &   & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textcolor{red}{R-GTC}           & 0.69527          & 0.67426          & 0.68460          &   & 0.90242          & 0.89107          & 0.89671          \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  OURS           & \textbf{0.75482} & \textbf{0.75482} & \textbf{0.75482} &   & \textbf{0.92057} & \textbf{0.91528} & \textbf{0.91792} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  \addlinespace
  & \multicolumn{3}{c}{\textbf{Seq3}} & & \multicolumn{3}{c}{\textbf{Seq4}} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  Method                           & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      &   & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textcolor{red}{R-GTCG }         & \textbf{0.74896} & \textbf{0.74896} & \textbf{0.74896} &   & 0.61123          & 0.61019          & 0.61071          \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  OURS                             & \textbf{0.74896} & \textbf{0.74896} & \textbf{0.74896} &   & \textbf{0.81705} & \textbf{0.81705} & \textbf{0.81705} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  \addlinespace
  & \multicolumn{3}{c}{\textbf{Seq5}} & & \multicolumn{3}{c}{\textbf{Seq6}} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  Method                           & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      &   & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textcolor{red}{\textbf{R-GTCG}} & 0.87119          & 0.84164          & 0.85616          &   & 0.88654          & 0.88654          & 0.88654          \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textbf{OURS}                    & \textbf{0.89381} & \textbf{0.89474} & \textbf{0.89427} &   & \textbf{0.89259} & \textbf{0.89259} & \textbf{0.89259} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  \addlinespace
  &  \multicolumn{3}{c}{\textbf{Seq7}} & & \multicolumn{3}{c}{\textbf{Seq8}} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  Method                           & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      &   & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textcolor{red}{\textbf{R-GTCG}} & \textbf{0.80783} & 0.79928          & 0.80353          &   & 0.18731          & 0.18731          & 0.18731          \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textbf{OURS}                    & 0.80603          & \textbf{0.80828} & \textbf{0.80715} &   & \textbf{0.62538} & \textbf{0.62538} & \textbf{0.62538} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  \addlinespace
  &  \multicolumn{3}{c}{\textbf{Seq9}} &  & \multicolumn{3}{c}{\textbf{Seq10}} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  Method                           & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      &   & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textcolor{red}{\textbf{R-GTCG}} & 0.96184          & 0.95988          & 0.96086          &   & 0.88875          & 0.87596          & 0.88231          \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textbf{OURS}                    & \textbf{0.99804} & \textbf{0.99609} & \textbf{0.99706} &   & \textbf{0.90537} & \textbf{0.90537} & \textbf{0.90537} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  \addlinespace
  &  \multicolumn{3}{c}{\textbf{Seq11}} & & \multicolumn{3}{c}{\textbf{Seq12}} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  Method                           & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      &   & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textcolor{red}{\textbf{R-GTCG}} & 0.00948          & 0.00474          & 0.00632          &   & \textbf{0.00000} & \textbf{0.00000} & \textbf{0.00000} \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textbf{OURS}                    & \textbf{0.84360} & \textbf{0.84360} & \textbf{0.84360} &   & \textbf{0.00000} & \textbf{0.00000} & \textbf{0.00000} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  \addlinespace
  &  \multicolumn{3}{c}{\textbf{Seq13}} & & \multicolumn{3}{c}{\textbf{Seq14}} \\
  \cmidrule[1pt]{1-4}\cmidrule[1pt]{6-8}
  Method                           & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      &   & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textcolor{red}{\textbf{R-GTCG}} & \textbf{0.03131} & \textbf{0.03131} & \textbf{0.03131} &   & 0.08329          & 0.08329          & 0.08329          \\
  \cmidrule(lr){2-4}\cmidrule(lr){6-8}
  \textbf{OURS}                    & 0.00196          & 0.00196          & 0.00196          &   & \textbf{0.08716} & \textbf{0.08716} & \textbf{0.08716} \\
  \cmidrule[1pt](lr){1-4}\cmidrule[1pt]{6-8}
  \addlinespace
  &  \multicolumn{3}{c}{\textbf{Seq15}} & & & & \\
  \cmidrule[1pt]{1-4}
  Method                           & \textbf{Prec}    & \textbf{Rec}     & \textbf{F1}      &  \\
  \cmidrule(lr){2-4}
  \textcolor{red}{\textbf{R-GTCG}} & 0.85840          & 0.83793          & 0.84804          &               \\
  \cmidrule(lr){2-4} \textbf{OURS} & \textbf{0.85878} & \textbf{0.88959} & \textbf{0.87392} &    \\
  \cmidrule[1pt]{1-4}%
  \label{tab:addlabel}%
\end{longtable}%

\end{document}

在此处输入图片描述

答案2

环境tabletabular 不能跨页折行。

改为,改为\begin{tabular}{|l|r|r|r|rrrr},将和语句移至环境内,并删除指令、和。\begin{longtable}{l|r|r|r|rrrr}\end{tabular}\end{longtable}\caption\labellongtable\begin{table}\centering\end{table}

另外,由于您使用的是booktabs不要使用竖线。 没有例外。

最后,恐怕我无法委婉地向您透露以下信息:您的代码非常复杂,而且没有必要。例如,没有一个似乎需要大量的\multicolumn{1}{r|}{...}“包装器”。请尽量简化您的代码。


以下是我对如何改进表格的看法。观察:没有垂直线,更少的水平线,更多的垂直空白,水平线不覆盖第一列。

在此处输入图片描述

\documentclass{article}
\usepackage{xcolor,booktabs,longtable,geometry,array}
\begin{document}
\begin{longtable}{@{}>{\bfseries}l rrr rrr@{}}
\caption{TESTING}\label{tab:addlabel}\\    
& \multicolumn{3}{c}{\textbf{Seq1}} & \multicolumn{3}{c}{\textbf{Seq2}} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
Method& \textbf{Prec} & \textbf{Rec} & \textbf{F1} & \textbf{Prec} & \textbf{Rec} & \textbf{F1} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\textcolor[rgb]{1,0,0}{R-GTCG} & 0.69527 & 0.67426 & 0.68460 & 0.90242 & 0.89107 & 0.89671 \\
Ours & \textbf{0.75482} & \textbf{0.75482} & \textbf{0.75482} & \textbf{0.92057} & \textbf{0.91528} & \textbf{0.91792} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}   
\addlinespace 
& \multicolumn{3}{c}{\textbf{Seq3}} & & \textbf{Seq4} &  \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
Method& \textbf{Prec} & \textbf{Rec} & \textbf{F1} & \textbf{Prec} & \textbf{Rec} & \textbf{F1} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\textcolor[rgb]{1,0,0}{R-GTCG} & \textbf{0.74896} & \textbf{0.74896} & \textbf{0.74896} & 0.61123 & 0.61019 & 0.61071 \\
Ours & \textbf{0.74896} & \textbf{0.74896} & \textbf{0.74896} & \textbf{0.81705} & \textbf{0.81705} & \textbf{0.81705} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\addlinespace 
& \multicolumn{3}{c}{\textbf{Seq5}} & \multicolumn{3}{c}{\textbf{Seq6}} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
Method& \textbf{Prec} & \textbf{Rec} & \textbf{F1} & \textbf{Prec} & \textbf{Rec} & \textbf{F1} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\textcolor[rgb]{1,0,0}{R-GTCG} & 0.87119 & 0.84164 & 0.85616 & 0.88654 & 0.88654 & 0.88654 \\
Ours & \textbf{0.89381} & \textbf{0.89474} & \textbf{0.89427} & \textbf{0.89259} & \textbf{0.89259} & \textbf{0.89259} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\addlinespace 
& \multicolumn{3}{c}{\textbf{Seq7}} & \multicolumn{3}{c}{\textbf{Seq8}} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
Method& \textbf{Prec} & \textbf{Rec} & \textbf{F1} & \textbf{Prec} & \textbf{Rec} & \textbf{F1} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\textcolor[rgb]{1,0,0}{R-GTCG} & \textbf{0.80783} & 0.79928 & 0.80353 & 0.18731 & 0.18731 & 0.18731 \\
Ours & 0.80603 & \textbf{0.80828} & \textbf{0.80715} & \textbf{0.62538} & \textbf{0.62538} & \textbf{0.62538} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\addlinespace 
& \multicolumn{3}{c}{\textbf{Seq9}} & \multicolumn{3}{c}{\textbf{Seq10}} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
Method& \textbf{Prec} & \textbf{Rec} & \textbf{F1} & \textbf{Prec} & \textbf{Rec} & \textbf{F1} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\textcolor[rgb]{1,0,0}{R-GTCG} & 0.96184 & 0.95988 & 0.96086 & 0.88875 & 0.87596 & 0.88231 \\
Ours & \textbf{0.99804} & \textbf{0.99609} & \textbf{0.99706} & \textbf{0.90537} & \textbf{0.90537} & \textbf{0.90537} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\addlinespace 
& \multicolumn{3}{c}{\textbf{Seq11}} & \multicolumn{3}{c}{\textbf{Seq12}} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}
Method& \textbf{Prec} & \textbf{Rec} & \textbf{F1} & \textbf{Prec} & \textbf{Rec} & \textbf{F1} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\textcolor[rgb]{1,0,0}{R-GTCG} & 0.00948 & 0.00474 & 0.00632 & \textbf{0.00000} & \textbf{0.00000} & \textbf{0.00000} \\
Ours & \textbf{0.84360} & \textbf{0.84360} & \textbf{0.84360} & \textbf{0.00000} & \textbf{0.00000} & \textbf{0.00000} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\addlinespace 
& \multicolumn{3}{c}{\textbf{Seq13}} & \multicolumn{3}{c}{\textbf{Seq14}} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
Method& \textbf{Prec} & \textbf{Rec} & \textbf{F1} & \textbf{Prec} & \textbf{Rec} & \textbf{F1} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\textcolor[rgb]{1,0,0}{R-GTCG} & \textbf{0.03131} & \textbf{0.03131} & \textbf{0.03131} & 0.08329 & 0.08329 & 0.08329 \\
Ours & 0.00196 & 0.00196 & 0.00196 & \textbf{0.08716} & \textbf{0.08716} & \textbf{0.08716} \\
\cmidrule(lr){2-4}\cmidrule(l){5-7}    
\addlinespace 
& \multicolumn{3}{c}{\textbf{Seq15}}   \\
\cmidrule(lr){2-4}    
Method& \textbf{Prec} & \textbf{Rec} & \textbf{F1} \\
\cmidrule(lr){2-4}    
\textcolor[rgb]{1,0,0}{R-GTCG} & 0.85840 & 0.83793 & 0.84804 \\
Ours & \textbf{0.85878} & \textbf{0.88959} & \textbf{0.87392} \\
\cmidrule(lr){2-4}    
\end{longtable}
\end{document}

相关内容