
파일에 다음과 같은 중첩된 항목이 있습니다 Chapters/Implementation
.
\begin{itemize}
\item \texttt{resizeDim N} resize each processed image so the largest size is at most \texttt{N}. The user shoudl set it 0 he/she wish to use the original image size (default 0).
\item \texttt{DESCRIPTOR} define the used image descriptor (default \texttt{SIFTOpenCV 0 3 0.04 10 1.6}):
\begin{itemize}
\item \texttt{PHA} (no options are needed)
\item \texttt{SIFTOpenCV nfeatures nOctaveLayers contrastThreshold edgeThreshold sigma} where the first argument is the keyword and the rest are the parameters described in OpenCV documentation about the SIFT descriptor.
\item \texttt{SURFOpenCv hessianThreshold nOctaves nOctaveLayers extended upright} where the first argument is the keyword and the rest are the parameters described in OpenCV documentation about the SURF descriptor.
\end{itemize}
\item \texttt{OMP v} enables parallel descriptor computation (as described in \ref{sect:trainingWorkflow}) if $v$ is set to 1 (default 1).
\item \texttt{ENCODER} is the used image encoder (default \texttt{VLAD 16 128 "NORMALIZE_COMPONENTS"):
\begin{itemize}
\item \texttt{VLAD k descDim flag} where \texttt{k} is the number of descriptors, \texttt{descDim} is the size of the used descriptor and \texttt{flag} is used when the VLFeat implementation of this encoder is used (to use it instead of our implmenetation, set \texttt{LCS=-DVLFEAT} in the makefile). This parameter is useless (but mandatory) when using our implementation (set it to \texttt{VL\_VLAD\_FLAG\_SQUARE\_ROOT \textbar \- VL\_VLAD\_FLAG\_\-NORMALIZE\_COMPONENTS} in that case).
\item \texttt{FisherVector k descDim flag} same as above, but using dedicated FV \texttt{flag} described in VLFeat C documentation.
\item \texttt{nQueriesFraction N} use only \texttt{N}\% of the setup images to initialize the cache. This is used for evaluation in \ref{sect:setupSizeTest}.
\end{itemize}
\item \texttt{dataset DATSETNAME} decides which dataset to use. The three possible values for \texttt{DATASETNAME} are:
\begin{itemize}
\item \texttt{oxford}
\item \texttt{painting}
\item \texttt{posters}
\end{itemize}
\end{itemize}
나에게 다음 오류가 반환됩니다.
! File ended while scanning use of \texttt .<inserted text>\par \include{Chapters/Implementation}
! LaTeX Error: \begin{itemize} on input line 569 ended by \end{document}.See the LaTeX manual or LaTeX Companion for explanation.Type H <return> for immediate help.... \end{document}
하지만 제가 보기에는 괜찮아 보입니다(특히 모든 \begin{itemize}...\end{itemize}가 올바르게 중첩되어 있다고 생각하기 때문에). 오류는 어디에 있습니까?
이것을 삭제하면 문서가 올바르게 생성됩니다.
답변1
11번째 줄에는 (default \texttt{VLAD 16 128 "NORMALIZE_COMPONENTS"):
닫는 중괄호가 없습니다. 어쩌면 더 있을 수도 있습니다…
그러한 오류를 찾는 방법은 무엇입니까?
오류가 사라질 때까지 코드 블록을 주석 처리하면 됩니다. 더 큰 줄 덩어리로 시작하여 오류가 발생한 줄까지 범위를 좁힐 수 있습니다.