## 3 The Proposed Model
### Loss Function
\begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline \multirow{2}{*}{**Model**} & \multirow{2}{*}{**Train Dataset**} & \multirow{2}{*}{**Test Dataset**} & \multicolumn{4}{c}{**De-Test B**} & \multicolumn{4}{c}{**De-Test C**} \\ \cline{3-10}  & & & **DDA** & **DDR** & **FDR** & **DDA** & **DDR** & **FDR** \\ \hline \multirow{4}{*}{SSD} & \multirow{4}{*}{De-Train B} & Tree-CycleGAN [42] & 87.36\% & 70.97\% & 10.20\% & 88.40\% & 73.77\% & 10.00\% \\  & & CycleGAN-TSS [43] & 86.19\% & 68.85\% & 12.50\% & 87.29\% & 72.13\% & 12.00\% \\  & & PreCaCycleGAN & **88.27\%** & **76.32\%** & **7.94\%** & **89.12\%** & **78.08\%** & **8.06\%** \\ \cline{1-1} \cline{2-10}  & & PreCaCycleGAN [42] & 90.16\% & 74.60\% & 4.08\% & 90.61\% & 75.41\% & 4.17\% \\  & & CycleGAN-TSS [43] & 89.19\% & 73.85\% & 5.88\% & 89.01\% & 72.58\% & 6.25\% \\  & & PreCaCycleGAN & **91.79\%** & **81.61\%** & **1.39\%** & **91.10\%** & **77.46\%** & **1.79\%** \\ \hline \multirow{4}{*}{Faster-RCNN} & \multirow{4}{*}{De-Train B} & Tree-CycleGAN [42] & 89.01\% & 72.58\% & 6.25\% & 90.06\% & 75.41\% & 6.12\% \\  & & CycleGAN-TSS [43] & 87.85\% & 70.49\% & 8.51\% & 88.95\% & 73.77\% & 8.16\% \\ \cline{1-1}  & & PreCaCycleGAN & **90.31\%** & **77.63\%** & **3.28\%** & **90.67\%** & **78.08\%** & **3.39\%** \\ \cline{1-1} \cline{2-10}  & & PreCaCycleGAN [42] & 90.71\% & 76.19\% & 4.00\% & 91.71\% & 78.69\% & 4.00\% \\ \cline{1-1}  & & CycleGAN-TSS [43] & 90.27\% & 75.38\% & 3.92\% & 91.21\% & 77.42\% & 4.00\% \\ \cline{1-1}  & & PreCaCycleGAN & **92.27\%** & **82.76\%** & **1.37\%** & **92.15\%** & **80.28\%** & **1.72\%** \\ \hline \hline \end{tabular}
\end{table} 
Table 9: _Cont._

\begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline \multirow{2}{*}{**Model**} & \multirow{2}{*}{**Train Dataset**} & \multirow{2}{*}{**Test Dataset**} & \multicolumn{4}{c}{**De-Test B**} & \multicolumn{4}{c}{**De-Test C**} \\ \cline{3-10}  & & & **DDA** & **DDR** & **FDR** & **DDA** & **DDR** & **FDR** \\ \hline \multirow{4}{*}{SSD} & \multirow{4}{*}{De-Train B} & Tree-CycleGAN [42] & 87.36\% & 70.97\% & 10.20\% & 88.40\% & 73.77\% & 10.00\% \\  & & CycleGAN-TSS [43] & 86.19\% & 68.85\% & 12.50\% & 87.29\% & 72.13\% & 12.00\% \\ \cline{1-1}  & & PreCaCycleGAN & **88.27\%** & **76.32\%** & **7.94\%** & **89.12\%** & **78.08\%** & **8.06\%** \\ \cline{1-1} \cline{2-10}  & & PreCaCycleGAN [42] & 90.16\% & 74.60\% & 4.08\% & 90.61\% & 75.41\% & 4.17\% \\ \cline{1-1 \begin{table}
\begin{tabular}{c c c c c c c c c} \hline \hline \multirow{2}{*}{**Model**} & \multirow{2}{*}{**Train Dataset**} & \multirow{2}{*}{**Test Dataset**} & \multicolumn{4}{c}{**De-Test B**} & \multicolumn{4}{c}{**De-Test C**} \\ \cline{3-10}  & & & **DDA** & **DDR** & **FDR** & **DDA** & **DDR** & **FDR** \\ \hline \multirow{4}{*}{YOLOv5} & \multirow{4}{*}{De-Train B} & Tree-CycleGAN [42] & 84.49\% & 73.13\% & 18.33\% & 85.48\% & 75.76\% & 18.03\% \\  & & CycleGAN-TSS [43] & 84.78\% & 73.44\% & 18.97\% & 85.71\% & 75.81\% & 18.97\% \\  & & PreCaCycleGAN & **87.08\%** & **82.02\%** & **13.10\%** & **87.06\%** & **81.48\%** & **14.29\%** \\ \cline{2-10}  & \multirow{4}{*}{De-Train C} & Tree-CycleGAN [42] & 88.89\% & 78.26\% & 10.00\% & 90.32\% & 81.82\% & 10.00\% \\  & & CycleGAN-TSS [43] & 88.71\% & 77.27\% & 10.53\% & 89.67\% & 79.69\% & 10.53\% \\  & & PreCaCycleGAN & **91.03\%** & **86.41\%** & **6.32\%** & **91.22\%** & **85.88\%** & **7.59\%** \\ \hline \hline \end{tabular}
\end{table} 
Table 13: Class 9 test result.