obster-y / XJTU-thesis

西安交通大学学位论文模板(LaTeX)(适用硕士、博士学位)An official LaTeX template for Xi'an Jiaotong University degree thesis (Chinese and English)
LaTeX Project Public License v1.3c
231 stars 52 forks source link

在章节内放图的时候代码报错 #124

Closed jixinyuan1996 closed 4 months ago

jixinyuan1996 commented 5 months ago

软件信息(请补全,请务必填写准确)

Bug 说明 我在论文里放Figure的时候出现了提示错误的波浪线,主要就是这句 我的图片也有放置在相应位置

\includegraphics[width=1\textwidth]{Figures/2_intro_excample.pdf}

最小代码示例 begin{figure}[H] \centering \subfigure[Label noise distribution on client $p$ and $q$. Black are correct labels and Red are noisy labels. ]{ \begin{minipage}{11.2cm} \centering % \includegraphics[width = 0.71 \textwidth]{figure/figure_Loss_distribution/_Loss.pdf} \includegraphics[width=1\textwidth]{Figures/2_intro_excample.pdf} \label{intro_excample} \end{minipage} } \subfigure[CL with noisy labels \& FL with heterogeneous noisy labels.]{ \begin{minipage}{6.1cm} \centering \includegraphics[width=1\textwidth]{Figures/2_FedAVG_noisy_label.png} \label{intro_comparation} \end{minipage} } \caption{(a): The heterogeneous label noise distributions encompass diverse true class samples or varying label noise transitions. (b): The performance comparison between CL and FL on CIFAR-10 with the rate of label noise 0.2, 0.5, and 0.8.} \label{fig:figure1} % \vspace{-4mm} \end{figure}

error1

其他说明 其他值得提到的内容

obster-y commented 4 months ago

不清楚你是否解决了,我只能说我没见过这种用法,建议如果想要插入子图请参考此处示例 https://github.com/obster-y/XJTU-thesis/blob/c92bb01721af8477df23ada3a3a0dce57f1b0947/Main_Spine/c2.tex#L69-L83