I have used the following to show five figures, but there are two problems which I think happen because the total size of all five figures is too large.
First, the figures are not placed exactly where I want them (they go at the beginning of the next page). Second, the rest of them aren't placed on the next page but under the current page! I don't have these problems with just a single image.
The code:
\begin{figure}[H]
\begin{center}
\subfigure[Weak]{\includegraphics[scale=0.35]{fab reg_overall_initial_b0.jpg}\label{img02a}}
\subfigure[Weak]{\includegraphics[scale=0.35]{fab reg_overall_initial_b28.jpg}\label{img02b}}
\subfigure[Weak]{\includegraphics[scale=0.35]{fab reg_overall_initial_b50.jpg}\label{img02c}}
\subfigure[Weak]{\includegraphics[scale=0.35]{fab reg_overall_initial_b732.jpg}\label{img02d}}
\subfigure[Weak]{\includegraphics[scale=0.35]{fab reg_overall_initial_b1.jpg}\label{img02e}}
\end{center}
\caption{different types: \subref{img02a} O \subref{img02b} S \subref{img02c} W \subref{img02d} D \subref{img02e} A}
\label{fig02}
\end{figure}

subfigure, which was obsoleted a long time ago. Also, since you're using the H placement option, you mostly prevent LaTeX from moving the figures to fit the page. – Miyase May 16 '22 at 03:04\ContinuedFloat(capton packaged). See https://tex.stackexchange.com/questions/278727/split-subfigures-over-multiple-pages – John Kormylo May 16 '22 at 03:43Hposition! This might not fix the issue at hand, butHleads to unpleasant pagination, if you use it you'll have to fine tune all positioning manually if you want pleasant typography. It's much easier (and usually better) to let LaTeX decide and stick to the default placement of floats. – Skillmon May 16 '22 at 06:51figuremakes a box so no text within afigurewill break over a page. Also the only function of afigureenvironmnt is to allow that text to move, so if you don't want it to move, and do want to allow page breaking, not usingfigureis probably the simplest option. – David Carlisle May 16 '22 at 07:00